Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001324/0.001324, allocations: 117.4 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.00145/0.00145, allocations: 214.3 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002469/0.002469, allocations: 279.1 kB / 309.8 MB, free: 3.535 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.077/1.077, allocations: 180.6 MB / 0.5338 GB, free: 12.38 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.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",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.003039/0.003039, allocations: 104.3 kB / 0.7347 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5006/0.5037, allocations: 95.34 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004134/0.5078, allocations: 3.12 MB / 0.8308 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.5106, allocations: 2.006 MB / 0.8328 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.5108, allocations: 12.81 kB / 0.8328 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009118/0.5117, allocations: 283.4 kB / 0.833 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.5122, allocations: 196 kB / 0.8332 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007354/0.5129, allocations: 256.1 kB / 0.8335 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.5133, allocations: 325.4 kB / 0.8338 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.5136, allocations: 142.5 kB / 0.8339 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.5139, allocations: 139.7 kB / 0.8341 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.5142, allocations: 157.4 kB / 0.8342 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.5142, allocations: 19.5 kB / 0.8342 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006806/0.5149, allocations: 427.8 kB / 0.8346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.515, allocations: 83.42 kB / 0.8347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.5151, allocations: 123.1 kB / 0.8348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007011/0.5158, allocations: 0.4907 MB / 0.8353 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5158, allocations: 2.25 kB / 0.8353 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5158, allocations: 0 / 0.8353 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.5158, allocations: 4 kB / 0.8353 GB, free: 14.41 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009224/0.5167, allocations: 0.5658 MB / 0.8359 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5168, allocations: 14.69 kB / 0.8359 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.703e-05/0.5168, allocations: 4.875 kB / 0.8359 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.465e-05/0.5169, allocations: 56.64 kB / 0.8359 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008041/0.5177, allocations: 113 kB / 0.836 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.518, allocations: 270.3 kB / 0.8363 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.518, allocations: 16.69 kB / 0.8363 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.5181, allocations: 16 kB / 0.8363 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005563/0.5186, allocations: 363.6 kB / 0.8367 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5187, allocations: 3.938 kB / 0.8367 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.5187, allocations: 6.656 kB / 0.8367 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.5187, allocations: 27.11 kB / 0.8367 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.5192, allocations: 294.4 kB / 0.837 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.5216, allocations: 1.731 MB / 0.8387 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.5221, allocations: 326 kB / 0.839 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.5222, allocations: 98.86 kB / 0.8391 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.5223, allocations: 89.61 kB / 0.8392 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.5224, allocations: 37.53 kB / 0.8392 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.5224, allocations: 0 / 0.8392 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002612/0.525, allocations: 0.9693 MB / 0.8402 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.525, allocations: 87.55 kB / 0.8402 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.5253, allocations: 218.5 kB / 0.8405 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.5253, allocations: 29.7 kB / 0.8405 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5254, allocations: 171.1 kB / 0.8406 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.8e-05/0.5255, allocations: 88.25 kB / 0.8407 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.5256, allocations: 60.95 kB / 0.8408 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5258, allocations: 330.5 kB / 0.8411 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.5261, allocations: 129.4 kB / 0.8412 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.5264, allocations: 215.1 kB / 0.8414 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.527, allocations: 361.6 kB / 0.8418 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.527, allocations: 5.562 kB / 0.8418 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001051/0.528, allocations: 0.5128 MB / 0.8423 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5281, allocations: 7.094 kB / 0.8423 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5281, allocations: 3.125 kB / 0.8423 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/0.5287, allocations: 150.6 kB / 0.8424 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.529, allocations: 56.95 kB / 0.8425 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003946/0.5329, allocations: 4.204 MB / 0.8466 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.5331, allocations: 18.62 kB / 0.8466 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.5332, allocations: 14.52 kB / 0.8466 GB, free: 5.352 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.5334, allocations: 165.7 kB / 0.8468 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/0.5334, allocations: 23.14 kB / 0.8468 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009347/0.5344, allocations: 464.5 kB / 0.8472 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5344, allocations: 3.781 kB / 0.8473 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5344, allocations: 5.812 kB / 0.8473 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5344, allocations: 1.125 kB / 0.8473 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.5363, allocations: 1.014 MB / 0.8482 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5363, allocations: 2 kB / 0.8483 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.5364, allocations: 31.44 kB / 0.8483 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/0.5369, allocations: 146.6 kB / 0.8484 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.537, allocations: 4.156 kB / 0.8484 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.5404, allocations: 4.155 MB / 0.8525 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.5404, allocations: 11.47 kB / 0.8525 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.5413, allocations: 0.6164 MB / 0.8531 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.5415, allocations: 130.4 kB / 0.8532 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.5415, allocations: 15.97 kB / 0.8532 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.5417, allocations: 19.38 kB / 0.8533 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.5418, allocations: 25.11 kB / 0.8533 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.5418, allocations: 8.844 kB / 0.8533 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001669/0.542, allocations: 154.8 kB / 0.8534 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.542, allocations: 0 / 0.8534 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000561/0.5425, allocations: 97.55 kB / 0.8535 GB, free: 15.54 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.5439, allocations: 1.204 MB / 0.8547 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.5449, allocations: 0.5542 MB / 0.8552 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5449, allocations: 0.625 kB / 0.8552 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005787/0.5455, allocations: 391.9 kB / 0.8556 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.546, allocations: 47.11 kB / 0.8557 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004555/0.5506, allocations: 3.345 MB / 0.8589 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.551, allocations: 0.784 MB / 0.8597 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.5512, allocations: 60.17 kB / 0.8598 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.5513, allocations: 70.09 kB / 0.8598 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.5513, allocations: 5.062 kB / 0.8598 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.5823, allocations: 6.924 MB / 0.8666 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.11, allocations: 10.42 kB / 0.8666 GB, free: 8.391 MB / 0.6075 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.15800252900226] Failed to read output from testmodel.py, exit status != 0: 13.267438077018596 13.293582111 12.772478793 Calling exit ...