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.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.001697/0.001697, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002023/0.002023, allocations: 162.4 kB / 23.02 MB, free: 4.949 MB / 14.72 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.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00246/0.00246, allocations: 236.7 kB / 260 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9294/0.9294, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003328/0.003328, allocations: 99.84 kB / 0.6473 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.422, allocations: 95.34 MB / 0.7405 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004059/0.426, allocations: 3.237 MB / 0.7436 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002722/0.4287, allocations: 1.983 MB / 0.7456 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4289, allocations: 8.562 kB / 0.7456 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.4297, allocations: 293.7 kB / 0.7458 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.4302, allocations: 233 kB / 0.7461 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.4307, allocations: 291.2 kB / 0.7463 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.4311, allocations: 415.1 kB / 0.7467 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.4314, allocations: 165.2 kB / 0.7469 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.4317, allocations: 170.2 kB / 0.7471 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003305/0.432, allocations: 200.4 kB / 0.7472 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.432, allocations: 23.69 kB / 0.7473 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.4324, allocations: 244.7 kB / 0.7475 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4325, allocations: 125.4 kB / 0.7476 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.4327, allocations: 129.4 kB / 0.7477 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.4332, allocations: 499.1 kB / 0.7482 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.4332, allocations: 0 / 0.7482 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4332, allocations: 0 / 0.7482 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4332, allocations: 5.25 kB / 0.7482 GB, free: 12.91 MB / 0.5919 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.0008936/0.4341, allocations: 0.5251 MB / 0.7487 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.4342, allocations: 11.59 kB / 0.7488 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.4352, allocations: 120.5 kB / 0.7489 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.4355, allocations: 230.4 kB / 0.7491 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4355, allocations: 19.09 kB / 0.7491 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.4356, allocations: 38.67 kB / 0.7491 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.4363, allocations: 0.5254 MB / 0.7497 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.4363, allocations: 2.328 kB / 0.7497 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.4363, allocations: 9.703 kB / 0.7497 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.4365, allocations: 44.55 kB / 0.7497 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.4371, allocations: 359.3 kB / 0.7501 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.4392, allocations: 1.589 MB / 0.7516 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.4396, allocations: 239.3 kB / 0.7518 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.4398, allocations: 146.2 kB / 0.752 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4398, allocations: 2.156 kB / 0.752 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.4398, allocations: 32.77 kB / 0.752 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.4398, allocations: 1.312 kB / 0.752 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001588/0.4414, allocations: 0.9213 MB / 0.7529 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.4414, allocations: 55.69 kB / 0.753 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.4417, allocations: 242.8 kB / 0.7532 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.4417, allocations: 31.3 kB / 0.7532 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.4418, allocations: 199.5 kB / 0.7534 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.4418, allocations: 86.23 kB / 0.7535 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.4419, allocations: 81.94 kB / 0.7536 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.442, allocations: 336.1 kB / 0.7539 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.4422, allocations: 155.6 kB / 0.754 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.4426, allocations: 247.3 kB / 0.7543 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.4431, allocations: 405 kB / 0.7547 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4431, allocations: 0.9375 kB / 0.7547 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001133/0.4442, allocations: 0.6042 MB / 0.7553 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4442, allocations: 5.719 kB / 0.7553 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.4442, allocations: 4.25 kB / 0.7553 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006664/0.4449, allocations: 183 kB / 0.7554 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.4452, allocations: 71.03 kB / 0.7555 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.4476, allocations: 2.347 MB / 0.7578 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.448, allocations: 27.31 kB / 0.7578 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.448, allocations: 12.03 kB / 0.7578 GB, free: 6.66 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.0001351/0.4482, allocations: 164.8 kB / 0.758 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.4482, allocations: 29.45 kB / 0.758 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.4487, allocations: 355.1 kB / 0.7584 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4487, allocations: 7.344 kB / 0.7584 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.4487, allocations: 112 / 0.7584 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4487, allocations: 9.047 kB / 0.7584 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008901/0.4496, allocations: 0.6973 MB / 0.7591 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4496, allocations: 3.938 kB / 0.7591 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.45, allocations: 78.72 kB / 0.7591 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.45, allocations: 1.344 kB / 0.7591 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.45, allocations: 7.719 kB / 0.7591 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.45, allocations: 5.578 kB / 0.7591 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.45, allocations: 1.156 kB / 0.7591 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.4506, allocations: 0.623 MB / 0.7598 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.4507, allocations: 50.14 kB / 0.7598 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.4508, allocations: 7.594 kB / 0.7598 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.451, allocations: 14.89 kB / 0.7598 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4511, allocations: 17.56 kB / 0.7598 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.4511, allocations: 5.094 kB / 0.7598 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001742/0.4513, allocations: 180.9 kB / 0.76 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4513, allocations: 0 / 0.76 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004217/0.4517, allocations: 90 kB / 0.7601 GB, free: 5.156 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.0001144/0.4518, allocations: 114.8 kB / 0.7602 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.4526, allocations: 0.5175 MB / 0.7607 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4526, allocations: 5.188 kB / 0.7607 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.4528, allocations: 139 kB / 0.7609 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.4532, allocations: 47.42 kB / 0.7609 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.4544, allocations: 0.8313 MB / 0.7617 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.4546, allocations: 186.5 kB / 0.7619 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.4548, allocations: 73.05 kB / 0.762 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.4549, allocations: 25.7 kB / 0.762 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.4549, allocations: 5.188 kB / 0.762 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of Templates: time 0.007466/0.4623, allocations: 4.173 MB / 0.7661 GB, free: 1.812 MB / 0.5919 GB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.918670829036273] Failed to read output from testmodel.py, exit status != 0: 0.47043923602905124 0.48330550299999997 0.047083152 Calling exit ...