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.0009756/0.0009756, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001164/0.001164, allocations: 173 kB / 23.03 MB, free: 1.547 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.934/0.934, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7559/0.7559, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.793e-06/1.793e-06, allocations: 0 / 0.5203 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.57e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002985/0.003011, allocations: 2.484 MB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.004599, allocations: 1.248 MB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.004711, allocations: 7.938 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.005145, allocations: 91.52 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.005493, allocations: 190.3 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.005826, allocations: 163.6 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.00615, allocations: 330.4 kB / 0.5247 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.006429, allocations: 181.5 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.006695, allocations: 187.6 kB / 0.5251 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.006939, allocations: 160.6 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.006966, allocations: 20 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.00721, allocations: 160.5 kB / 0.5254 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.00731, allocations: 107.7 kB / 0.5255 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.007657, allocations: 93.23 kB / 0.5256 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.008021, allocations: 295 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.008024, allocations: 0 / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.008025, allocations: 0 / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.008031, allocations: 0.875 kB / 0.5259 GB, free: 12.52 MB / 0.4948 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.0006789/0.00871, allocations: 0.5671 MB / 0.5264 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.008747, allocations: 12.03 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.009236, allocations: 142.1 kB / 0.5266 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.009483, allocations: 196.2 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.009498, allocations: 13.69 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.675e-05/0.009575, allocations: 36.48 kB / 0.5268 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.009923, allocations: 308.3 kB / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.009935, allocations: 192 / 0.5271 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.00996, allocations: 16.12 kB / 0.5271 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-05/0.01003, allocations: 25.83 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.01022, allocations: 126.8 kB / 0.5273 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.01128, allocations: 1.196 MB / 0.5284 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.01152, allocations: 143 kB / 0.5286 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.01159, allocations: 49.55 kB / 0.5286 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.3e-05/0.01167, allocations: 14.73 kB / 0.5286 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.0117, allocations: 45.33 kB / 0.5287 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.0117, allocations: 0 / 0.5287 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0007162/0.01241, allocations: 453 kB / 0.5291 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.01244, allocations: 55.41 kB / 0.5291 GB, free: 8.941 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01257, allocations: 235 kB / 0.5294 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.01259, allocations: 30.89 kB / 0.5294 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.01266, allocations: 215.2 kB / 0.5296 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.0127, allocations: 67.44 kB / 0.5297 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.01277, allocations: 60.28 kB / 0.5297 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.01287, allocations: 0.4962 MB / 0.5302 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.01294, allocations: 47.97 kB / 0.5303 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.01304, allocations: 122.7 kB / 0.5304 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.01322, allocations: 187.6 kB / 0.5306 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.01322, allocations: 0 / 0.5306 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004036/0.01362, allocations: 287.2 kB / 0.5308 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01364, allocations: 4 kB / 0.5308 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01365, allocations: 4 kB / 0.5308 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003651/0.01401, allocations: 101.2 kB / 0.5309 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.01415, allocations: 59.84 kB / 0.531 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.01557, allocations: 1.919 MB / 0.5329 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01567, allocations: 19.97 kB / 0.5329 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.01569, allocations: 8.531 kB / 0.5329 GB, free: 4.879 MB / 0.4948 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 9.82e-05/0.01579, allocations: 170 kB / 0.5331 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.01582, allocations: 31.78 kB / 0.5331 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.01606, allocations: 190.7 kB / 0.5333 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01606, allocations: 5.188 kB / 0.5333 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01607, allocations: 0 / 0.5333 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01607, allocations: 3.984 kB / 0.5333 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.01653, allocations: 0.5231 MB / 0.5338 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.01653, allocations: 3.984 kB / 0.5338 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.01669, allocations: 56.89 kB / 0.5338 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01669, allocations: 0 / 0.5338 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.01671, allocations: 8 kB / 0.5338 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.01671, allocations: 0.9062 kB / 0.5338 GB, free: 3.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.01671, allocations: 3.938 kB / 0.5339 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.01699, allocations: 378.7 kB / 0.5342 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.01704, allocations: 35.88 kB / 0.5342 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01706, allocations: 8 kB / 0.5343 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.01714, allocations: 7.984 kB / 0.5343 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.01717, allocations: 19.97 kB / 0.5343 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.01718, allocations: 7.938 kB / 0.5343 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.354e-05/0.01726, allocations: 165.4 kB / 0.5344 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01726, allocations: 0 / 0.5344 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002405/0.0175, allocations: 64 kB / 0.5345 GB, free: 3.141 MB / 0.4948 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.0001266/0.01763, allocations: 114.4 kB / 0.5346 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004322/0.01806, allocations: 364.3 kB / 0.535 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.01807, allocations: 4 kB / 0.535 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.01813, allocations: 67.59 kB / 0.535 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.01839, allocations: 32.95 kB / 0.5351 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.01938, allocations: 0.5523 MB / 0.5356 GB, free: 1.988 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.162e-05/0.01944, allocations: 101.8 kB / 0.5357 GB, free: 1.871 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.114e-05/0.01953, allocations: 40.88 kB / 0.5357 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.01958, allocations: 21.69 kB / 0.5358 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of SimCode: time 1.303e-06/0.01958, allocations: 0 / 0.5358 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of Templates: time 0.004738/0.02432, allocations: 2.905 MB / 0.5386 GB, free: 15.05 MB / 0.5105 GB " [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 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.570176671259105]