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.00127/0.00127, allocations: 119.3 kB / 17.17 MB, free: 5.977 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.00135/0.00135, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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.002407/0.002407, allocations: 283.1 kB / 309.8 MB, free: 3.422 MB / 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 1.092/1.092, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) [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.00289/0.00289, allocations: 95.86 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5058, allocations: 95.35 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004191/0.51, allocations: 3.318 MB / 0.831 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.5132, allocations: 2.071 MB / 0.833 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.5133, allocations: 12.16 kB / 0.8331 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009954/0.5143, allocations: 303.4 kB / 0.8333 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.5149, allocations: 238.1 kB / 0.8336 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008041/0.5157, allocations: 288.6 kB / 0.8338 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005076/0.5162, allocations: 405.5 kB / 0.8342 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003572/0.5166, allocations: 169.6 kB / 0.8344 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.5169, allocations: 174.2 kB / 0.8346 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.5173, allocations: 209.2 kB / 0.8348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.5173, allocations: 25 kB / 0.8348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.5179, allocations: 270.7 kB / 0.835 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.518, allocations: 124.1 kB / 0.8352 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.5182, allocations: 153.9 kB / 0.8353 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.5189, allocations: 497.1 kB / 0.8358 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5189, allocations: 0 / 0.8358 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5189, allocations: 1.062 kB / 0.8358 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.5189, allocations: 0 / 0.8358 GB, free: 14.18 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.001227/0.5201, allocations: 0.6067 MB / 0.8364 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5202, allocations: 12.97 kB / 0.8364 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.8e-05/0.5202, allocations: 7.656 kB / 0.8364 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.848e-05/0.5203, allocations: 62 kB / 0.8365 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.5213, allocations: 120.2 kB / 0.8366 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.5218, allocations: 285.4 kB / 0.8368 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.5218, allocations: 20.08 kB / 0.8369 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.522, allocations: 41.67 kB / 0.8369 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008363/0.5228, allocations: 459.7 kB / 0.8373 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.5228, allocations: 2.156 kB / 0.8373 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.5228, allocations: 9.406 kB / 0.8373 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.523, allocations: 41.11 kB / 0.8374 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000662/0.5237, allocations: 362.7 kB / 0.8377 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.5266, allocations: 2.215 MB / 0.8399 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.5271, allocations: 246.8 kB / 0.8401 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.5273, allocations: 141.8 kB / 0.8403 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.5273, allocations: 7.406 kB / 0.8403 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.5274, allocations: 41.16 kB / 0.8403 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.5274, allocations: 0 / 0.8403 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001949/0.5293, allocations: 1.057 MB / 0.8413 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5294, allocations: 53.88 kB / 0.8414 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.5297, allocations: 254.5 kB / 0.8416 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.5298, allocations: 31.48 kB / 0.8417 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.5299, allocations: 190.8 kB / 0.8419 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.53, allocations: 91.19 kB / 0.8419 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.5301, allocations: 73.38 kB / 0.842 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5303, allocations: 340.6 kB / 0.8423 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.5306, allocations: 154.8 kB / 0.8425 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.531, allocations: 247.2 kB / 0.8427 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.5317, allocations: 416.2 kB / 0.8431 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5317, allocations: 0.6562 kB / 0.8431 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001332/0.533, allocations: 0.5931 MB / 0.8437 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5331, allocations: 5.531 kB / 0.8437 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5331, allocations: 4.172 kB / 0.8437 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007311/0.5338, allocations: 183.2 kB / 0.8439 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.5342, allocations: 71.53 kB / 0.8439 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/0.5379, allocations: 2.49 MB / 0.8464 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.5384, allocations: 27.84 kB / 0.8464 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.5384, allocations: 19.27 kB / 0.8464 GB, free: 6.832 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.000227/0.5386, allocations: 167.6 kB / 0.8466 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.5387, allocations: 22.95 kB / 0.8466 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006676/0.5394, allocations: 356 kB / 0.8469 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5394, allocations: 2.234 kB / 0.8469 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.5394, allocations: 1.219 kB / 0.8469 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5394, allocations: 1.562 kB / 0.8469 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.5407, allocations: 0.8208 MB / 0.8478 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5407, allocations: 1.844 kB / 0.8478 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/0.5414, allocations: 80.64 kB / 0.8478 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5414, allocations: 2.188 kB / 0.8478 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.5414, allocations: 7.609 kB / 0.8478 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.5414, allocations: 2.188 kB / 0.8478 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5414, allocations: 1.094 kB / 0.8478 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.5428, allocations: 0.6137 MB / 0.8484 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.543, allocations: 130.7 kB / 0.8486 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.5431, allocations: 7.953 kB / 0.8486 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.5435, allocations: 14.78 kB / 0.8486 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.5435, allocations: 16.78 kB / 0.8486 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.5436, allocations: 8.562 kB / 0.8486 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003789/0.5439, allocations: 192.1 kB / 0.8488 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5439, allocations: 1.219 kB / 0.8488 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008037/0.5447, allocations: 89.31 kB / 0.8489 GB, free: 5.414 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.00186/0.5466, allocations: 1.159 MB / 0.85 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.5482, allocations: 0.511 MB / 0.8505 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5482, allocations: 0 / 0.8505 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.5485, allocations: 143.6 kB / 0.8507 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.5493, allocations: 59.69 kB / 0.8507 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008717/0.558, allocations: 3.701 MB / 0.8543 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.5586, allocations: 0.8002 MB / 0.8551 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003824/0.559, allocations: 88.58 kB / 0.8552 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.5592, allocations: 82.83 kB / 0.8553 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.5592, allocations: 0 / 0.8553 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/0.5983, allocations: 7.022 MB / 0.8621 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.31, allocations: 7.125 kB / 0.8621 GB, free: 14.45 MB / 0.6075 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.215326384990476] Failed to read output from testmodel.py, exit status != 0: 11.461449224036187 11.482359441 10.959400093 Calling exit ...