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.001944/0.001944, allocations: 92.7 kB / 19.44 MB, free: 324 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.002545/0.002545, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 1.201/1.201, allocations: 154.6 MB / 414.1 MB, free: 0.6328 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 178] 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 2.074e-06/2.074e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.679e-05/3.886e-05, allocations: 6.312 kB / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.009686/0.009725, allocations: 3.043 MB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006071/0.0158, allocations: 1.676 MB / 0.5242 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.01603, allocations: 4 kB / 0.5242 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.01808, allocations: 336.1 kB / 0.5245 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.01929, allocations: 224.2 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.02002, allocations: 179.2 kB / 0.5249 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.02054, allocations: 330.7 kB / 0.5252 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004263/0.02096, allocations: 172.9 kB / 0.5254 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.02139, allocations: 187.6 kB / 0.5256 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.02179, allocations: 159.6 kB / 0.5257 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.02184, allocations: 20 kB / 0.5258 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.02228, allocations: 224.5 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.02244, allocations: 111.7 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.0226, allocations: 79.83 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.02334, allocations: 443.2 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.02334, allocations: 0 / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.02334, allocations: 0.5625 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.02335, allocations: 0 / 0.5266 GB, free: 11.43 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.001134/0.02448, allocations: 491.8 kB / 0.527 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.02452, allocations: 8.031 kB / 0.5271 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008855/0.02541, allocations: 148.4 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.0258, allocations: 198.4 kB / 0.5274 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.02583, allocations: 18.86 kB / 0.5274 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.02594, allocations: 32.55 kB / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007422/0.02669, allocations: 413 kB / 0.5278 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.02671, allocations: 8.125 kB / 0.5278 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.02674, allocations: 12.12 kB / 0.5278 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.02686, allocations: 33.38 kB / 0.5279 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008504/0.02771, allocations: 301.8 kB / 0.5282 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.02975, allocations: 1.049 MB / 0.5292 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.03026, allocations: 211.9 kB / 0.5294 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.03045, allocations: 100.8 kB / 0.5295 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.03057, allocations: 15.98 kB / 0.5295 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.03061, allocations: 31.75 kB / 0.5295 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.03061, allocations: 0 / 0.5295 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001548/0.03216, allocations: 0.742 MB / 0.5303 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.03221, allocations: 55.36 kB / 0.5303 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.03246, allocations: 179.5 kB / 0.5305 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.03249, allocations: 33.64 kB / 0.5305 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.03263, allocations: 168.4 kB / 0.5307 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.03272, allocations: 75.36 kB / 0.5308 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.03284, allocations: 53.7 kB / 0.5308 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.03302, allocations: 334.8 kB / 0.5311 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.03323, allocations: 114.4 kB / 0.5312 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.0335, allocations: 165.9 kB / 0.5314 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.03398, allocations: 301.9 kB / 0.5317 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.03398, allocations: 1.031 kB / 0.5317 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009194/0.0349, allocations: 426 kB / 0.5321 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.03492, allocations: 8 kB / 0.5321 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.03493, allocations: 4 kB / 0.5321 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/0.03576, allocations: 136 kB / 0.5322 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.03603, allocations: 51.84 kB / 0.5323 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.03857, allocations: 1.746 MB / 0.534 GB, free: 3.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.03881, allocations: 16.02 kB / 0.534 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.03884, allocations: 8 kB / 0.534 GB, free: 3.465 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.0002318/0.03907, allocations: 159 kB / 0.5342 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.03915, allocations: 23.84 kB / 0.5342 GB, free: 3.277 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006106/0.03976, allocations: 307.7 kB / 0.5345 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.03976, allocations: 0 / 0.5345 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.03976, allocations: 0 / 0.5345 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.03976, allocations: 0 / 0.5345 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.04114, allocations: 0.6056 MB / 0.5351 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.04115, allocations: 0.5625 kB / 0.5351 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.04149, allocations: 64.67 kB / 0.5351 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.0415, allocations: 0 / 0.5351 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.04152, allocations: 4.531 kB / 0.5351 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.04152, allocations: 1.5 kB / 0.5351 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.04153, allocations: 4 kB / 0.5351 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.04236, allocations: 0.5226 MB / 0.5356 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.04246, allocations: 35.92 kB / 0.5357 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.0425, allocations: 13.05 kB / 0.5357 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.0427, allocations: 15.98 kB / 0.5357 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.04274, allocations: 7.984 kB / 0.5357 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.04276, allocations: 8.844 kB / 0.5357 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001691/0.04292, allocations: 141.5 kB / 0.5359 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.04292, allocations: 0.6562 kB / 0.5359 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004224/0.04335, allocations: 71.94 kB / 0.5359 GB, free: 1.43 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.0002158/0.04356, allocations: 105.5 kB / 0.536 GB, free: 1.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008864/0.04445, allocations: 408.7 kB / 0.5364 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.04445, allocations: 0 / 0.5364 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.04465, allocations: 115.8 kB / 0.5365 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.04506, allocations: 37.67 kB / 0.5366 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.04642, allocations: 0.5819 MB / 0.5371 GB, free: 188 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.04663, allocations: 170.5 kB / 0.5373 GB, free: 4 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001945/0.04683, allocations: 52.17 kB / 0.5373 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.04691, allocations: 24.48 kB / 0.5374 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/0.04691, allocations: 0 / 0.5374 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.007729/0.05464, allocations: 2.773 MB / 0.5401 GB, free: 13.29 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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.077256330987439]