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.0009045/0.0009045, allocations: 69.89 kB / 20.65 MB, free: 3.844 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.000982/0.000982, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.9405/0.9405, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.7487/0.7487, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.794e-06/1.794e-06, allocations: 0 / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.727e-05, allocations: 3.188 kB / 0.5215 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00279/0.002807, allocations: 2.477 MB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.004566, allocations: 1.23 MB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.0047, allocations: 4 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.005041, allocations: 92.39 kB / 0.5252 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.005369, allocations: 188.3 kB / 0.5254 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.005707, allocations: 168.6 kB / 0.5256 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.006028, allocations: 331.1 kB / 0.5259 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.006262, allocations: 177 kB / 0.5261 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.006503, allocations: 188.8 kB / 0.5262 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.006729, allocations: 151.6 kB / 0.5264 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.006753, allocations: 21.06 kB / 0.5264 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.006971, allocations: 167.6 kB / 0.5266 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.007054, allocations: 107.7 kB / 0.5267 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.007123, allocations: 88.28 kB / 0.5268 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.007441, allocations: 297 kB / 0.527 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.007442, allocations: 0 / 0.527 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.51e-07/0.007443, allocations: 0 / 0.527 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.007448, allocations: 4 kB / 0.527 GB, free: 12.29 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.0005057/0.007953, allocations: 0.5714 MB / 0.5276 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.6e-05/0.007979, allocations: 12.03 kB / 0.5276 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/0.008386, allocations: 120.5 kB / 0.5277 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.008567, allocations: 191.3 kB / 0.5279 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.00858, allocations: 16.86 kB / 0.5279 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.008632, allocations: 29.02 kB / 0.528 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.008879, allocations: 292.1 kB / 0.5282 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.008889, allocations: 4.172 kB / 0.5282 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.008909, allocations: 12.11 kB / 0.5282 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/0.00896, allocations: 29.61 kB / 0.5283 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.009082, allocations: 107.3 kB / 0.5284 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008184/0.009901, allocations: 1.127 MB / 0.5295 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.01007, allocations: 122.9 kB / 0.5296 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.01012, allocations: 43.61 kB / 0.5296 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.01018, allocations: 15.98 kB / 0.5297 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.0102, allocations: 35.83 kB / 0.5297 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.0102, allocations: 0 / 0.5297 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0004769/0.01067, allocations: 396.9 kB / 0.5301 GB, free: 9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.01069, allocations: 51.41 kB / 0.5301 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.01081, allocations: 234.2 kB / 0.5303 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.01082, allocations: 31.7 kB / 0.5304 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.0109, allocations: 211.2 kB / 0.5306 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.01094, allocations: 75.38 kB / 0.5306 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.277e-05/0.011, allocations: 63.33 kB / 0.5307 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.01111, allocations: 0.4962 MB / 0.5312 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.01115, allocations: 31.97 kB / 0.5312 GB, free: 7.762 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/0.01123, allocations: 118.8 kB / 0.5313 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.01137, allocations: 169.3 kB / 0.5315 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.01137, allocations: 0 / 0.5315 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003031/0.01167, allocations: 244.9 kB / 0.5317 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.01168, allocations: 6.906 kB / 0.5317 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01169, allocations: 4 kB / 0.5317 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.01202, allocations: 102.4 kB / 0.5318 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.01213, allocations: 44.45 kB / 0.5319 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.01324, allocations: 1.901 MB / 0.5337 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.01334, allocations: 8 kB / 0.5337 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.01335, allocations: 4.719 kB / 0.5337 GB, free: 5 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 0.0001166/0.01347, allocations: 169.1 kB / 0.5339 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.01352, allocations: 36.75 kB / 0.5339 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.01381, allocations: 168.2 kB / 0.5341 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01381, allocations: 4 kB / 0.5341 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.01381, allocations: 0.9062 kB / 0.5341 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01381, allocations: 0 / 0.5341 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.01424, allocations: 475.9 kB / 0.5346 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01425, allocations: 6.375 kB / 0.5346 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.0144, allocations: 55.84 kB / 0.5346 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.0144, allocations: 0 / 0.5346 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.01441, allocations: 8 kB / 0.5346 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01441, allocations: 3.984 kB / 0.5346 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01442, allocations: 0 / 0.5346 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.01467, allocations: 350.6 kB / 0.535 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.01472, allocations: 35.83 kB / 0.535 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.01473, allocations: 8 kB / 0.535 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.01481, allocations: 0 / 0.535 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.01483, allocations: 15.92 kB / 0.535 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.01484, allocations: 8 kB / 0.535 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.01491, allocations: 166.1 kB / 0.5352 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01491, allocations: 4.812 kB / 0.5352 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002318/0.01514, allocations: 60 kB / 0.5352 GB, free: 3.387 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 9.521e-05/0.01524, allocations: 104.5 kB / 0.5353 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.01556, allocations: 345 kB / 0.5357 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01556, allocations: 0.625 kB / 0.5357 GB, free: 2.922 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.01562, allocations: 68.47 kB / 0.5357 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.01584, allocations: 45.95 kB / 0.5358 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.01662, allocations: 0.5318 MB / 0.5363 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.088e-05/0.01669, allocations: 104.3 kB / 0.5364 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.575e-05/0.01677, allocations: 29.88 kB / 0.5364 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.01688, allocations: 101.2 kB / 0.5365 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/0.01689, allocations: 4 kB / 0.5365 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of Templates: time 0.004799/0.02168, allocations: 3.029 MB / 0.5395 GB, free: 15.13 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.635859923902899]