Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001281/0.001281, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001454/0.001454, allocations: 200.3 kB / 22.17 MB, free: 5.211 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.384/1.384, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.058/1.058, allocations: 175.8 MB / 481.9 MB, free: 7.68 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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 64.73 kB / 0.6705 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5579/0.5598, allocations: 94.53 MB / 0.7628 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004983/0.5647, allocations: 3.19 MB / 0.7659 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.5678, allocations: 1.788 MB / 0.7677 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.568, allocations: 8.125 kB / 0.7677 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.5691, allocations: 340.1 kB / 0.768 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.5697, allocations: 220.3 kB / 0.7682 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.5702, allocations: 180.4 kB / 0.7684 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.5706, allocations: 310 kB / 0.7687 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003095/0.5709, allocations: 165.8 kB / 0.7688 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.5711, allocations: 134.3 kB / 0.769 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.5714, allocations: 172.2 kB / 0.7691 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.5715, allocations: 23.06 kB / 0.7692 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.5719, allocations: 248.5 kB / 0.7694 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.572, allocations: 108.3 kB / 0.7695 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.5721, allocations: 124.7 kB / 0.7696 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004818/0.5726, allocations: 421.4 kB / 0.77 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5726, allocations: 1.062 kB / 0.77 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5726, allocations: 0 / 0.77 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5726, allocations: 4.062 kB / 0.77 GB, free: 6.152 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008983/0.5735, allocations: 0.562 MB / 0.7706 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.5735, allocations: 10.03 kB / 0.7706 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006993/0.5742, allocations: 88.94 kB / 0.7707 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.5745, allocations: 257.1 kB / 0.7709 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.5746, allocations: 17.5 kB / 0.7709 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.5747, allocations: 32.11 kB / 0.771 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.5752, allocations: 374.4 kB / 0.7713 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5752, allocations: 9.188 kB / 0.7713 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.5752, allocations: 10.03 kB / 0.7713 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/0.5753, allocations: 27.47 kB / 0.7714 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.5758, allocations: 305.2 kB / 0.7716 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.5773, allocations: 1.521 MB / 0.7731 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.5777, allocations: 224.5 kB / 0.7733 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.5779, allocations: 100.9 kB / 0.7734 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.578, allocations: 91.05 kB / 0.7735 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.578, allocations: 39.56 kB / 0.7736 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.578, allocations: 2.688 kB / 0.7736 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001218/0.5792, allocations: 0.7931 MB / 0.7743 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5792, allocations: 54.56 kB / 0.7744 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.5794, allocations: 196 kB / 0.7746 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5795, allocations: 25.7 kB / 0.7746 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.5795, allocations: 163.6 kB / 0.7748 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.5796, allocations: 69.17 kB / 0.7748 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.5797, allocations: 57.77 kB / 0.7749 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.5797, allocations: 332.8 kB / 0.7752 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.5799, allocations: 118.6 kB / 0.7753 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.5801, allocations: 170.2 kB / 0.7755 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.5804, allocations: 296.8 kB / 0.7758 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5804, allocations: 0 / 0.7758 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006747/0.5811, allocations: 416.3 kB / 0.7762 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.5811, allocations: 10.41 kB / 0.7762 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5811, allocations: 3.609 kB / 0.7762 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003945/0.5815, allocations: 98.81 kB / 0.7763 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.5818, allocations: 53.61 kB / 0.7763 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.5833, allocations: 1.88 MB / 0.7782 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.5835, allocations: 21.67 kB / 0.7782 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.5835, allocations: 7.5 kB / 0.7782 GB, free: 196 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.5837, allocations: 161.8 kB / 0.7783 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.5837, allocations: 21.02 kB / 0.7784 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/0.5842, allocations: 308.8 kB / 0.7786 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5842, allocations: 1.688 kB / 0.7786 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.5842, allocations: 1.719 kB / 0.7787 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.5842, allocations: 4.641 kB / 0.7787 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.5852, allocations: 0.6976 MB / 0.7793 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5852, allocations: 4.625 kB / 0.7793 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.5855, allocations: 56.7 kB / 0.7794 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5855, allocations: 4.125 kB / 0.7794 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.5855, allocations: 9.938 kB / 0.7794 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5855, allocations: 1.219 kB / 0.7794 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5855, allocations: 5.125 kB / 0.7794 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.5861, allocations: 0.5106 MB / 0.7799 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.5863, allocations: 122.3 kB / 0.78 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.5863, allocations: 8.609 kB / 0.78 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.5865, allocations: 15.73 kB / 0.7801 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.5865, allocations: 17.77 kB / 0.7801 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.5865, allocations: 6.406 kB / 0.7801 GB, free: 15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001344/0.5867, allocations: 151 kB / 0.7802 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.5867, allocations: 0 / 0.7802 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003732/0.587, allocations: 60.56 kB / 0.7803 GB, free: 14.89 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 0.000165/0.5872, allocations: 109.2 kB / 0.7804 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.5879, allocations: 402 kB / 0.7808 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5879, allocations: 1.312 kB / 0.7808 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.5881, allocations: 120.9 kB / 0.7809 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.5885, allocations: 37.62 kB / 0.7809 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5898, allocations: 0.6333 MB / 0.7815 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.5902, allocations: 0.7707 MB / 0.7823 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000149/0.5904, allocations: 62.17 kB / 0.7823 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.5904, allocations: 22.14 kB / 0.7824 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.5904, allocations: 0 / 0.7824 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.006933/0.5974, allocations: 2.941 MB / 0.7852 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.04762094700709] Failed to read output from testmodel.py, exit status != 0: 0.6052205972373486 0.619816169 0.044228631000000004 Calling exit ...