Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.575/1.575, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002732/0.002732, allocations: 283.5 kB / 303.6 MB, free: 3.699 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.137/1.137, allocations: 180.9 MB / 0.5268 GB, free: 2.66 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002886/0.002886, allocations: 111.8 kB / 0.7259 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5791/0.582, allocations: 94.15 MB / 0.8179 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00459/0.5866, allocations: 3.3 MB / 0.8211 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.5899, allocations: 2.042 MB / 0.8231 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.5901, allocations: 10.31 kB / 0.8231 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009412/0.591, allocations: 292.6 kB / 0.8234 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006099/0.5916, allocations: 231.2 kB / 0.8236 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008485/0.5925, allocations: 298.1 kB / 0.8239 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.5929, allocations: 406.4 kB / 0.8243 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.5932, allocations: 163.2 kB / 0.8244 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.5935, allocations: 164.3 kB / 0.8246 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004123/0.5939, allocations: 214.7 kB / 0.8248 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.5939, allocations: 27.2 kB / 0.8248 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.5944, allocations: 265.7 kB / 0.8251 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.5945, allocations: 125.4 kB / 0.8252 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.5947, allocations: 156.7 kB / 0.8253 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.5953, allocations: 488.2 kB / 0.8258 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5954, allocations: 3.938 kB / 0.8258 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5954, allocations: 0 / 0.8258 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5954, allocations: 0 / 0.8258 GB, free: 2.609 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001046/0.5964, allocations: 0.6056 MB / 0.8264 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5964, allocations: 9.125 kB / 0.8264 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.5975, allocations: 123.1 kB / 0.8265 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.5978, allocations: 285.2 kB / 0.8268 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.5978, allocations: 17.48 kB / 0.8268 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.598, allocations: 32.05 kB / 0.8268 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007072/0.5987, allocations: 462 kB / 0.8273 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.5987, allocations: 0.5625 kB / 0.8273 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/0.5987, allocations: 9.469 kB / 0.8273 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.5989, allocations: 41.89 kB / 0.8273 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.5995, allocations: 371.2 kB / 0.8277 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.602, allocations: 2.213 MB / 0.8298 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.6024, allocations: 244.2 kB / 0.8301 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.6026, allocations: 150.2 kB / 0.8302 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.6027, allocations: 7.547 kB / 0.8302 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.6027, allocations: 36.88 kB / 0.8303 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.6027, allocations: 0 / 0.8303 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002002/0.6047, allocations: 1.057 MB / 0.8313 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.6048, allocations: 54.81 kB / 0.8313 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.6051, allocations: 262.7 kB / 0.8316 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.6052, allocations: 29.7 kB / 0.8316 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.6053, allocations: 195.5 kB / 0.8318 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.6054, allocations: 86.89 kB / 0.8319 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.6056, allocations: 82.27 kB / 0.832 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6058, allocations: 331.3 kB / 0.8323 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.6061, allocations: 163.6 kB / 0.8324 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.6064, allocations: 241.3 kB / 0.8327 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/0.6071, allocations: 411 kB / 0.8331 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6071, allocations: 1.375 kB / 0.8331 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001332/0.6084, allocations: 0.5951 MB / 0.8336 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6085, allocations: 10.73 kB / 0.8337 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.6085, allocations: 1.406 kB / 0.8337 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007507/0.6092, allocations: 195.5 kB / 0.8338 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.6095, allocations: 59.06 kB / 0.8339 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.6129, allocations: 2.508 MB / 0.8363 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.6133, allocations: 24.97 kB / 0.8364 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.6134, allocations: 17.2 kB / 0.8364 GB, free: 11.31 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.6136, allocations: 167.3 kB / 0.8365 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.6137, allocations: 28.19 kB / 0.8366 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006473/0.6143, allocations: 355.2 kB / 0.8369 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6143, allocations: 3.359 kB / 0.8369 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.6143, allocations: 3.938 kB / 0.8369 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6143, allocations: 0.9375 kB / 0.8369 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.6156, allocations: 0.8108 MB / 0.8377 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6156, allocations: 6.281 kB / 0.8377 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.616, allocations: 76.95 kB / 0.8378 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.616, allocations: 2.844 kB / 0.8378 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.6161, allocations: 7.641 kB / 0.8378 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6161, allocations: 1.812 kB / 0.8378 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6161, allocations: 1.094 kB / 0.8378 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.617, allocations: 0.6139 MB / 0.8384 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.6172, allocations: 133.3 kB / 0.8385 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.6172, allocations: 6.469 kB / 0.8385 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.6174, allocations: 9.531 kB / 0.8385 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.6175, allocations: 25.58 kB / 0.8386 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.6175, allocations: 4.906 kB / 0.8386 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000284/0.6178, allocations: 188.9 kB / 0.8388 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6178, allocations: 4 kB / 0.8388 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005147/0.6183, allocations: 90.03 kB / 0.8388 GB, free: 9.891 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.0001923/0.6185, allocations: 108.9 kB / 0.8389 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.6196, allocations: 0.5214 MB / 0.8395 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6196, allocations: 0 / 0.8395 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.6199, allocations: 137.4 kB / 0.8396 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.6204, allocations: 53.66 kB / 0.8396 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.6224, allocations: 0.8769 MB / 0.8405 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.623, allocations: 0.7968 MB / 0.8413 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.6231, allocations: 27.05 kB / 0.8413 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.6231, allocations: 0 / 0.8413 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of Templates: time 0.009884/0.633, allocations: 4.581 MB / 0.8458 GB, free: 7.816 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.669583447976038] Failed to read output from testmodel.py, exit status != 0: 0.641879664035514 0.655145422 0.05685056699999994 Calling exit ...