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.001409/0.001409, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001512/0.001512, allocations: 177 kB / 23.49 MB, free: 1.055 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 1.031/1.031, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.825/0.825, allocations: 154.6 MB / 414.9 MB, free: 0.6953 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.373e-06/1.373e-06, allocations: 0 / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.747e-05, allocations: 3.219 kB / 0.5203 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003734/0.003762, allocations: 3.162 MB / 0.5234 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.005931, allocations: 1.754 MB / 0.5251 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.006048, allocations: 9.125 kB / 0.5251 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.006705, allocations: 336 kB / 0.5255 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.007062, allocations: 215.6 kB / 0.5257 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.007407, allocations: 193.9 kB / 0.5259 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.007702, allocations: 326.5 kB / 0.5262 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.007974, allocations: 173 kB / 0.5263 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.008268, allocations: 188.3 kB / 0.5265 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.008514, allocations: 151.6 kB / 0.5267 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.008545, allocations: 21.75 kB / 0.5267 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.0088, allocations: 227.4 kB / 0.5269 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.243e-05/0.008892, allocations: 107.7 kB / 0.527 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.008966, allocations: 87.81 kB / 0.5271 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.009375, allocations: 337 kB / 0.5274 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.009377, allocations: 0 / 0.5274 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.009378, allocations: 0 / 0.5274 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.009382, allocations: 0 / 0.5274 GB, free: 11.3 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.0006665/0.01005, allocations: 0.5831 MB / 0.528 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.01009, allocations: 12.03 kB / 0.528 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005333/0.01062, allocations: 136.5 kB / 0.5281 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.01087, allocations: 197.2 kB / 0.5283 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.01088, allocations: 21.8 kB / 0.5283 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.01096, allocations: 28.52 kB / 0.5283 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.01129, allocations: 307.1 kB / 0.5286 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.0113, allocations: 5.125 kB / 0.5286 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.01132, allocations: 8.125 kB / 0.5287 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.01139, allocations: 32.97 kB / 0.5287 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.01158, allocations: 123.6 kB / 0.5288 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.01284, allocations: 1.195 MB / 0.53 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.01307, allocations: 148.7 kB / 0.5301 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/0.01314, allocations: 51.66 kB / 0.5302 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-05/0.01322, allocations: 8 kB / 0.5302 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.01325, allocations: 45.38 kB / 0.5302 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.01325, allocations: 1.406 kB / 0.5302 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0007219/0.01397, allocations: 455 kB / 0.5306 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.014, allocations: 51.41 kB / 0.5307 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.01415, allocations: 240.7 kB / 0.5309 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.01417, allocations: 29.7 kB / 0.531 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.01424, allocations: 207.2 kB / 0.5311 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.01428, allocations: 71.42 kB / 0.5312 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.01435, allocations: 55.36 kB / 0.5313 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.01446, allocations: 0.5001 MB / 0.5318 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.01453, allocations: 54.8 kB / 0.5318 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.01463, allocations: 117.8 kB / 0.5319 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.01482, allocations: 190.9 kB / 0.5321 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01482, allocations: 0.7188 kB / 0.5321 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004048/0.01523, allocations: 280.3 kB / 0.5324 GB, free: 5.883 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01524, allocations: 7.984 kB / 0.5324 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.01525, allocations: 4 kB / 0.5324 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/0.01562, allocations: 99.27 kB / 0.5325 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01576, allocations: 61.11 kB / 0.5325 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.01687, allocations: 1.926 MB / 0.5344 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.01698, allocations: 16.64 kB / 0.5344 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.017, allocations: 11.98 kB / 0.5344 GB, free: 3.637 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.178e-05/0.01709, allocations: 173.7 kB / 0.5346 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.01712, allocations: 23.84 kB / 0.5346 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.01736, allocations: 187.4 kB / 0.5348 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01736, allocations: 4.594 kB / 0.5348 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01736, allocations: 0 / 0.5348 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01737, allocations: 0.5625 kB / 0.5348 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.01783, allocations: 0.5272 MB / 0.5353 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01783, allocations: 0 / 0.5353 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.01799, allocations: 65.11 kB / 0.5354 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01799, allocations: 0 / 0.5354 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01801, allocations: 4 kB / 0.5354 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01801, allocations: 0.9375 kB / 0.5354 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.01801, allocations: 11.97 kB / 0.5354 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.0183, allocations: 372.5 kB / 0.5358 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.01834, allocations: 31.89 kB / 0.5358 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.01837, allocations: 15.89 kB / 0.5358 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.01845, allocations: 11.98 kB / 0.5358 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.01848, allocations: 15.92 kB / 0.5358 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.01849, allocations: 7.938 kB / 0.5358 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.63e-05/0.01856, allocations: 174.1 kB / 0.536 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01856, allocations: 0 / 0.536 GB, free: 1.957 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002347/0.0188, allocations: 64 kB / 0.5361 GB, free: 1.895 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.0001072/0.01891, allocations: 99.25 kB / 0.5362 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.01959, allocations: 368 kB / 0.5365 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.0196, allocations: 0 / 0.5365 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.01967, allocations: 72.22 kB / 0.5366 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.01993, allocations: 44.45 kB / 0.5366 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/0.02087, allocations: 0.5389 MB / 0.5372 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.708e-05/0.02093, allocations: 104.3 kB / 0.5373 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.619e-05/0.02103, allocations: 48.75 kB / 0.5373 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.02108, allocations: 16.5 kB / 0.5373 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.02108, allocations: 1.656 kB / 0.5373 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of Templates: time 0.004411/0.02549, allocations: 2.801 MB / 0.5401 GB, free: 13.91 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.999918089946732]