Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 192.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 175.8 MB / 481.9 MB, free: 7.688 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 64.28 kB / 0.6705 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5017, allocations: 94.53 MB / 0.7628 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003716/0.5054, allocations: 2.361 MB / 0.7651 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.5071, allocations: 0.8164 MB / 0.7659 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.5072, allocations: 2.719 kB / 0.7659 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007534/0.5079, allocations: 147.4 kB / 0.766 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.5082, allocations: 67.45 kB / 0.7661 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.5083, allocations: 53.77 kB / 0.7661 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.5086, allocations: 159.3 kB / 0.7663 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.5088, allocations: 70.81 kB / 0.7664 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.5089, allocations: 70.88 kB / 0.7664 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.5091, allocations: 66.64 kB / 0.7665 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.5091, allocations: 11.53 kB / 0.7665 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.5092, allocations: 59.73 kB / 0.7666 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.5093, allocations: 43.91 kB / 0.7666 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.5094, allocations: 63.98 kB / 0.7667 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.5096, allocations: 171.8 kB / 0.7668 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5096, allocations: 3.562 kB / 0.7668 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5096, allocations: 0 / 0.7668 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5096, allocations: 3.938 kB / 0.7668 GB, free: 7.922 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006302/0.5103, allocations: 497.2 kB / 0.7673 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.5103, allocations: 10.53 kB / 0.7673 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.5105, allocations: 26.41 kB / 0.7673 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.5107, allocations: 224 kB / 0.7676 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.5108, allocations: 37.58 kB / 0.7676 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.5108, allocations: 12.41 kB / 0.7676 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.5111, allocations: 152.9 kB / 0.7677 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5111, allocations: 0 / 0.7677 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.5111, allocations: 7.094 kB / 0.7678 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.5112, allocations: 5.828 kB / 0.7678 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.5114, allocations: 86.5 kB / 0.7678 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.5121, allocations: 0.6384 MB / 0.7685 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.5124, allocations: 59.17 kB / 0.7685 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.5124, allocations: 28.3 kB / 0.7685 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.5124, allocations: 0.8906 kB / 0.7685 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.5126, allocations: 141.6 kB / 0.7687 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.5126, allocations: 0 / 0.7687 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003438/0.513, allocations: 164.5 kB / 0.7688 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.513, allocations: 138.2 kB / 0.769 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.5131, allocations: 176.8 kB / 0.7691 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.5132, allocations: 31.27 kB / 0.7692 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.5132, allocations: 138.1 kB / 0.7693 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.5132, allocations: 26.17 kB / 0.7693 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.5133, allocations: 38.84 kB / 0.7694 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.5133, allocations: 323.6 kB / 0.7697 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.5134, allocations: 40.86 kB / 0.7697 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.5135, allocations: 112.7 kB / 0.7698 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.5137, allocations: 236.7 kB / 0.77 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5137, allocations: 0 / 0.77 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003006/0.514, allocations: 248.2 kB / 0.7703 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.5141, allocations: 62.44 kB / 0.7703 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5141, allocations: 5.703 kB / 0.7703 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5141, allocations: 8.406 kB / 0.7704 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.5142, allocations: 30.44 kB / 0.7704 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.5142, allocations: 9.031 kB / 0.7704 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.5144, allocations: 25.98 kB / 0.7704 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.5144, allocations: 7.359 kB / 0.7704 GB, free: 4.805 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.271e-05/0.5145, allocations: 175.4 kB / 0.7706 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.5145, allocations: 14.97 kB / 0.7706 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.5145, allocations: 22.67 kB / 0.7706 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5145, allocations: 6.094 kB / 0.7706 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5145, allocations: 0 / 0.7706 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5145, allocations: 1.125 kB / 0.7706 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.5146, allocations: 212 kB / 0.7708 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5146, allocations: 0 / 0.7708 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.856e-05/0.5147, allocations: 7.875 kB / 0.7708 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5147, allocations: 1.156 kB / 0.7708 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5147, allocations: 9 kB / 0.7709 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5147, allocations: 0 / 0.7709 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5147, allocations: 1.469 kB / 0.7709 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.5151, allocations: 222.2 kB / 0.7711 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.5151, allocations: 91.27 kB / 0.7712 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.5151, allocations: 9.938 kB / 0.7712 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.5152, allocations: 7.156 kB / 0.7712 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.5153, allocations: 8.188 kB / 0.7712 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.5153, allocations: 6.344 kB / 0.7712 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.507e-05/0.5154, allocations: 140.4 kB / 0.7713 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5154, allocations: 1.156 kB / 0.7713 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002314/0.5156, allocations: 30.12 kB / 0.7713 GB, free: 4.035 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.65e-05/0.5157, allocations: 102.9 kB / 0.7714 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.516, allocations: 210.9 kB / 0.7716 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.516, allocations: 0 / 0.7716 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.5161, allocations: 91.31 kB / 0.7717 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.5163, allocations: 30.09 kB / 0.7718 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.5168, allocations: 291.9 kB / 0.772 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.5169, allocations: 0.7141 MB / 0.7727 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.332e-05/0.517, allocations: 18.16 kB / 0.7728 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.517, allocations: 17.53 kB / 0.7728 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.517, allocations: 4 kB / 0.7728 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.004543/0.5216, allocations: 1.462 MB / 0.7742 GB, free: 2.672 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.620588982012123] Failed to read output from testmodel.py, exit status != 0: 0.5301650818437338 0.542749646 0.029738140000000003 Calling exit ...