Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9764/0.9764, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.8304/0.8304, allocations: 154.6 MB / 414.8 MB, free: 0.5352 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_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_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 480 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208e-05/1.314e-05, allocations: 6.031 kB / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002916/0.002929, allocations: 2.538 MB / 482.6 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.004649, allocations: 1.26 MB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.004758, allocations: 4 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.005151, allocations: 99.94 kB / 483.9 MB, free: 3.055 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.005455, allocations: 172 kB / 484.1 MB, free: 2.887 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.005779, allocations: 169.1 kB / 484.3 MB, free: 2.723 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.006087, allocations: 329.2 kB / 484.6 MB, free: 2.402 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.006336, allocations: 178.3 kB / 484.8 MB, free: 2.227 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.006589, allocations: 195.5 kB / 485 MB, free: 2.035 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.006868, allocations: 144.3 kB / 485.1 MB, free: 1.895 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.006897, allocations: 24.91 kB / 485.1 MB, free: 1.871 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.007164, allocations: 163.6 kB / 485.3 MB, free: 1.711 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.518e-05/0.007259, allocations: 112.9 kB / 485.4 MB, free: 1.602 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.007333, allocations: 87.77 kB / 485.5 MB, free: 1.516 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.007635, allocations: 295.1 kB / 485.8 MB, free: 1.227 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007637, allocations: 9.875 kB / 485.8 MB, free: 1.219 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007638, allocations: 0 / 485.8 MB, free: 1.219 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.007642, allocations: 0 / 485.8 MB, free: 1.219 MB / 442.7 MB 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.0005051/0.008147, allocations: 448.2 kB / 486.2 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.008176, allocations: 12.03 kB / 486.2 MB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.008643, allocations: 120.6 kB / 486.3 MB, free: 0.6328 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.008876, allocations: 183.1 kB / 486.5 MB, free: 440 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.008896, allocations: 16.86 kB / 486.5 MB, free: 420 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.008967, allocations: 29.38 kB / 486.6 MB, free: 392 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.00928, allocations: 280.9 kB / 486.8 MB, free: 84 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.009296, allocations: 1.094 kB / 486.8 MB, free: 84 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.009318, allocations: 16.11 kB / 486.9 MB, free: 68 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/0.00938, allocations: 28.48 kB / 486.9 MB, free: 36 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.009516, allocations: 84.58 kB / 487 MB, free: 15.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.01031, allocations: 0.8382 MB / 487.8 MB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.0105, allocations: 163.9 kB / 488 MB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.01054, allocations: 36.84 kB / 488 MB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/0.01061, allocations: 8.656 kB / 488 MB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.01064, allocations: 40.89 kB / 488 MB, free: 14.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.01064, allocations: 0 / 488 MB, free: 14.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005538/0.01119, allocations: 357.9 kB / 488.4 MB, free: 14.44 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.01121, allocations: 51.41 kB / 488.4 MB, free: 14.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.01131, allocations: 174.5 kB / 488.6 MB, free: 14.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.01133, allocations: 30.23 kB / 488.6 MB, free: 14.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.01139, allocations: 160.5 kB / 488.8 MB, free: 14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.01143, allocations: 72.23 kB / 488.9 MB, free: 13.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.01149, allocations: 53.64 kB / 488.9 MB, free: 13.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.01157, allocations: 332 kB / 489.3 MB, free: 13.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.01162, allocations: 35.97 kB / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.01169, allocations: 81.92 kB / 489.4 MB, free: 13.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.01183, allocations: 142.8 kB / 489.5 MB, free: 13.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01183, allocations: 0.5312 kB / 489.5 MB, free: 13.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000287/0.01211, allocations: 208.2 kB / 489.7 MB, free: 13.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.01213, allocations: 4 kB / 489.7 MB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01213, allocations: 3.938 kB / 489.7 MB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.0125, allocations: 108.8 kB / 489.8 MB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.01264, allocations: 43.98 kB / 489.9 MB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009788/0.01362, allocations: 1.355 MB / 491.2 MB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.01371, allocations: 8 kB / 491.2 MB, free: 11.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.01372, allocations: 7.984 kB / 491.2 MB, free: 11.41 MB / 458.7 MB 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 7.906e-05/0.0138, allocations: 126.8 kB / 491.4 MB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.01383, allocations: 17.08 kB / 491.4 MB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.014, allocations: 146.2 kB / 491.5 MB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01401, allocations: 4 kB / 491.5 MB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01401, allocations: 1.344 kB / 491.5 MB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01401, allocations: 3.984 kB / 491.5 MB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.01437, allocations: 401.8 kB / 491.9 MB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01437, allocations: 0 / 491.9 MB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.01457, allocations: 69.66 kB / 492 MB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01457, allocations: 3.938 kB / 492 MB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.01458, allocations: 4 kB / 492 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01458, allocations: 5.781 kB / 492 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.01458, allocations: 0 / 492 MB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01481, allocations: 308.5 kB / 492.3 MB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.01485, allocations: 27.83 kB / 492.3 MB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.01487, allocations: 13.42 kB / 492.3 MB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.01494, allocations: 4 kB / 492.3 MB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.01497, allocations: 11.98 kB / 492.4 MB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.01497, allocations: 0 / 492.4 MB, free: 10.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.268e-05/0.01502, allocations: 54.78 kB / 492.4 MB, free: 10.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01502, allocations: 0 / 492.4 MB, free: 10.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002078/0.01522, allocations: 64.84 kB / 492.5 MB, free: 10.12 MB / 458.7 MB 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.0001109/0.01534, allocations: 94.52 kB / 492.6 MB, free: 10.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.01567, allocations: 275.3 kB / 492.8 MB, free: 9.734 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.01567, allocations: 8 kB / 492.8 MB, free: 9.727 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.476e-05/0.01573, allocations: 59.22 kB / 492.9 MB, free: 9.668 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.01592, allocations: 40.97 kB / 492.9 MB, free: 9.629 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000828/0.01675, allocations: 0.5368 MB / 493.5 MB, free: 9.086 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.318e-05/0.01681, allocations: 100.3 kB / 493.6 MB, free: 8.969 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.392e-05/0.01689, allocations: 28.06 kB / 493.6 MB, free: 8.949 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.01699, allocations: 79.36 kB / 493.7 MB, free: 8.871 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01699, allocations: 0 / 493.7 MB, free: 8.871 MB / 458.7 MB Notification: Performance of Templates: time 0.004422/0.02142, allocations: 2.958 MB / 496.6 MB, free: 6.078 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7060890211723745]