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.0009858/0.0009858, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.0009447/0.0009447, allocations: 173 kB / 23.28 MB, free: 1.223 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.8747/0.8747, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7034/0.7034, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.463e-06/1.463e-06, allocations: 3.938 kB / 0.5208 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.2e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002517/0.002529, allocations: 2.478 MB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.00399, allocations: 1.24 MB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.676e-05/0.004087, allocations: 7.938 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.004443, allocations: 89.28 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.004744, allocations: 186.9 kB / 0.5247 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.005019, allocations: 169.7 kB / 0.5248 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.005289, allocations: 330.4 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.005504, allocations: 174.3 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.005716, allocations: 195.5 kB / 0.5255 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.00593, allocations: 155.6 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.005955, allocations: 21.66 kB / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.006141, allocations: 155.7 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.006221, allocations: 115.7 kB / 0.5259 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.006284, allocations: 87.77 kB / 0.526 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.006586, allocations: 293.3 kB / 0.5263 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.006588, allocations: 0 / 0.5263 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006589, allocations: 3.938 kB / 0.5263 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.006592, allocations: 0 / 0.5263 GB, free: 12.27 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.0005773/0.007169, allocations: 0.5745 MB / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.007202, allocations: 12.59 kB / 0.5269 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.007595, allocations: 113.5 kB / 0.527 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.007776, allocations: 198.6 kB / 0.5272 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.007791, allocations: 18.28 kB / 0.5272 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.007848, allocations: 28.5 kB / 0.5272 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.008099, allocations: 283.1 kB / 0.5275 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.008111, allocations: 8.125 kB / 0.5275 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.008128, allocations: 13.06 kB / 0.5275 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/0.008182, allocations: 32.47 kB / 0.5275 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.008301, allocations: 102.6 kB / 0.5276 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.009112, allocations: 1.124 MB / 0.5287 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.009281, allocations: 115 kB / 0.5288 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.009325, allocations: 43.66 kB / 0.5289 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.19e-05/0.009387, allocations: 15.03 kB / 0.5289 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.009407, allocations: 33.39 kB / 0.5289 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.009408, allocations: 0 / 0.5289 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0005032/0.009911, allocations: 411.1 kB / 0.5293 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.009933, allocations: 51.41 kB / 0.5294 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.01004, allocations: 226.3 kB / 0.5296 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.01006, allocations: 31.2 kB / 0.5296 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.01013, allocations: 215.2 kB / 0.5298 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.01016, allocations: 79.36 kB / 0.5299 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.01023, allocations: 63.27 kB / 0.5299 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01033, allocations: 0.5006 MB / 0.5304 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.01037, allocations: 31.97 kB / 0.5305 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.01045, allocations: 112.3 kB / 0.5306 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.01058, allocations: 167.6 kB / 0.5307 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.01058, allocations: 0 / 0.5307 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003027/0.01088, allocations: 250.5 kB / 0.531 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.01089, allocations: 4 kB / 0.531 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.0109, allocations: 7.984 kB / 0.531 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.0112, allocations: 101.2 kB / 0.5311 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01131, allocations: 55.91 kB / 0.5311 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009524/0.01226, allocations: 1.884 MB / 0.533 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.01235, allocations: 8 kB / 0.533 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.01236, allocations: 9.406 kB / 0.533 GB, free: 4.98 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 8.33e-05/0.01244, allocations: 164.5 kB / 0.5331 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.01248, allocations: 33.08 kB / 0.5332 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.01265, allocations: 170.2 kB / 0.5333 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.01265, allocations: 4.625 kB / 0.5333 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.01265, allocations: 3.938 kB / 0.5333 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01266, allocations: 5.641 kB / 0.5333 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.01302, allocations: 471.4 kB / 0.5338 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.01303, allocations: 7.938 kB / 0.5338 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.01316, allocations: 48.47 kB / 0.5339 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01316, allocations: 0.625 kB / 0.5339 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.01317, allocations: 8 kB / 0.5339 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01317, allocations: 0.9375 kB / 0.5339 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01317, allocations: 4 kB / 0.5339 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.01341, allocations: 348.5 kB / 0.5342 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.01345, allocations: 31.88 kB / 0.5342 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.01347, allocations: 11.95 kB / 0.5342 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.01354, allocations: 8.953 kB / 0.5342 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.01356, allocations: 11.98 kB / 0.5343 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01357, allocations: 4 kB / 0.5343 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.01363, allocations: 170.7 kB / 0.5344 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01363, allocations: 0 / 0.5344 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002106/0.01384, allocations: 68.53 kB / 0.5345 GB, free: 3.367 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.0001031/0.01394, allocations: 108.3 kB / 0.5346 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.01427, allocations: 343.6 kB / 0.5349 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01427, allocations: 1.312 kB / 0.5349 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.01433, allocations: 60.62 kB / 0.535 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.01456, allocations: 43.62 kB / 0.535 GB, free: 2.801 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.01533, allocations: 0.5416 MB / 0.5355 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.324e-05/0.0154, allocations: 100.3 kB / 0.5356 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.328e-05/0.01547, allocations: 29.72 kB / 0.5357 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.01557, allocations: 103.9 kB / 0.5358 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01557, allocations: 0 / 0.5358 GB, free: 2.016 MB / 0.4948 GB Notification: Performance of Templates: time 0.004305/0.01988, allocations: 2.952 MB / 0.5387 GB, free: 15.18 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.430744175799191]