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.001895/0.001895, allocations: 85.48 kB / 19.44 MB, free: 344 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.0025/0.0025, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.318/1.318, allocations: 154.6 MB / 414.2 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 1.603e-06/1.603e-06, allocations: 0.875 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.72e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005416/0.005444, allocations: 3.138 MB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003448/0.008891, allocations: 1.747 MB / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.009041, allocations: 4.969 kB / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.01025, allocations: 336.5 kB / 0.5247 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007305/0.01098, allocations: 227.4 kB / 0.5249 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.01151, allocations: 184.9 kB / 0.5251 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.01197, allocations: 326.7 kB / 0.5254 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.01233, allocations: 169.5 kB / 0.5256 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.01267, allocations: 193 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.01301, allocations: 151.6 kB / 0.5259 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.01306, allocations: 24 kB / 0.5259 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004322/0.01349, allocations: 224.1 kB / 0.5261 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.01365, allocations: 111.7 kB / 0.5262 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.01378, allocations: 80.89 kB / 0.5263 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006609/0.01444, allocations: 450.6 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.01444, allocations: 4 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01444, allocations: 1.094 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.01445, allocations: 0 / 0.5268 GB, free: 11.21 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.001044/0.01549, allocations: 0.5916 MB / 0.5273 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.01554, allocations: 8.031 kB / 0.5273 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008307/0.01637, allocations: 136.5 kB / 0.5275 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.01676, allocations: 205.8 kB / 0.5277 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.01679, allocations: 16.88 kB / 0.5277 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.01689, allocations: 24.56 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.01748, allocations: 323.2 kB / 0.528 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.0175, allocations: 8.609 kB / 0.528 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.01754, allocations: 21.14 kB / 0.528 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.01765, allocations: 28.47 kB / 0.5281 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003572/0.01801, allocations: 161.8 kB / 0.5282 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.02022, allocations: 1.235 MB / 0.5294 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.02063, allocations: 140 kB / 0.5296 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.02074, allocations: 51.66 kB / 0.5296 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.02085, allocations: 8.688 kB / 0.5296 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.0209, allocations: 44.14 kB / 0.5297 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.0209, allocations: 0 / 0.5297 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001118/0.02202, allocations: 481.8 kB / 0.5301 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.02207, allocations: 55.41 kB / 0.5302 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.02234, allocations: 262.2 kB / 0.5304 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.02238, allocations: 29.7 kB / 0.5305 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.02254, allocations: 215.3 kB / 0.5307 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.02262, allocations: 74.36 kB / 0.5307 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.02274, allocations: 71.33 kB / 0.5308 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002875/0.02303, allocations: 0.504 MB / 0.5313 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.02316, allocations: 51.97 kB / 0.5313 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.02338, allocations: 137.7 kB / 0.5315 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.02373, allocations: 210.7 kB / 0.5317 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.02374, allocations: 4 kB / 0.5317 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007136/0.02445, allocations: 304 kB / 0.532 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.02446, allocations: 8 kB / 0.532 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.02447, allocations: 0 / 0.532 GB, free: 5.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.0252, allocations: 113.1 kB / 0.5321 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.02547, allocations: 51.89 kB / 0.5321 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.02784, allocations: 1.973 MB / 0.5341 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.02807, allocations: 17.77 kB / 0.5341 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.0281, allocations: 12 kB / 0.5341 GB, free: 3.254 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.0002187/0.02832, allocations: 168.6 kB / 0.5343 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.02839, allocations: 29.5 kB / 0.5343 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004536/0.02885, allocations: 200.5 kB / 0.5345 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.02885, allocations: 4 kB / 0.5345 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.02885, allocations: 0 / 0.5345 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.02885, allocations: 0.625 kB / 0.5345 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009289/0.02978, allocations: 0.5636 MB / 0.535 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.02979, allocations: 0 / 0.535 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.0301, allocations: 61.58 kB / 0.5351 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.0301, allocations: 0 / 0.5351 GB, free: 2.176 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.03013, allocations: 8 kB / 0.5351 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.03013, allocations: 0 / 0.5351 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.03013, allocations: 4.562 kB / 0.5351 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.03092, allocations: 405.4 kB / 0.5355 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.03103, allocations: 35.88 kB / 0.5355 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.03107, allocations: 4 kB / 0.5355 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.03126, allocations: 17.48 kB / 0.5355 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.03131, allocations: 11.97 kB / 0.5355 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.03133, allocations: 11.94 kB / 0.5356 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001691/0.0315, allocations: 186.1 kB / 0.5357 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.0315, allocations: 0.9688 kB / 0.5357 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003736/0.03188, allocations: 60 kB / 0.5358 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.0002163/0.03209, allocations: 108.4 kB / 0.5359 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000807/0.0329, allocations: 379.9 kB / 0.5363 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.0329, allocations: 0 / 0.5363 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.03304, allocations: 81.12 kB / 0.5363 GB, free: 0.8438 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.03347, allocations: 32.62 kB / 0.5364 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.03476, allocations: 0.539 MB / 0.5369 GB, free: 276 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.03495, allocations: 155.5 kB / 0.537 GB, free: 108 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.03513, allocations: 50.14 kB / 0.5371 GB, free: 60 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.03521, allocations: 20.5 kB / 0.5371 GB, free: 40 kB / 0.4948 GB Notification: Performance of SimCode: time 8.71e-07/0.03521, allocations: 0 / 0.5371 GB, free: 40 kB / 0.4948 GB Notification: Performance of Templates: time 0.008237/0.04344, allocations: 2.809 MB / 0.5399 GB, free: 13.37 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: 6.201097936951555]