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.001784/0.001784, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001623/0.001623, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002543/0.002543, allocations: 290.2 kB / 313.5 MB, free: 2.617 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.268/1.268, allocations: 180.6 MB / 0.5377 GB, free: 14.58 MB / 382.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.002864/0.002864, allocations: 101.4 kB / 0.7402 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1771, allocations: 95.38 MB / 0.8334 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005052/0.1821, allocations: 3.062 MB / 0.8364 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003221/0.1854, allocations: 1.863 MB / 0.8382 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1855, allocations: 7.938 kB / 0.8382 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009395/0.1864, allocations: 286.9 kB / 0.8385 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004285/0.1868, allocations: 187.1 kB / 0.8387 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.1875, allocations: 260.2 kB / 0.8389 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.1879, allocations: 319 kB / 0.8392 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.1882, allocations: 156.8 kB / 0.8394 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1884, allocations: 139.5 kB / 0.8395 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.1887, allocations: 155.5 kB / 0.8396 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.1887, allocations: 23.94 kB / 0.8397 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.1893, allocations: 387.3 kB / 0.84 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1894, allocations: 91.72 kB / 0.8401 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1896, allocations: 103.5 kB / 0.8402 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.1902, allocations: 494.4 kB / 0.8407 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1902, allocations: 0 / 0.8407 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1902, allocations: 3.938 kB / 0.8407 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.1902, allocations: 0 / 0.8407 GB, free: 0.7148 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008804/0.1911, allocations: 0.4932 MB / 0.8412 GB, free: 192 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1911, allocations: 9.344 kB / 0.8412 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.953e-05/0.1912, allocations: 8.625 kB / 0.8412 GB, free: 176 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.475e-05/0.1912, allocations: 62.72 kB / 0.8413 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.192, allocations: 104.9 kB / 0.8414 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.1924, allocations: 214.1 kB / 0.8416 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1924, allocations: 12.81 kB / 0.8416 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.1925, allocations: 24.06 kB / 0.8416 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.1931, allocations: 404.1 kB / 0.842 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1931, allocations: 4 kB / 0.842 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1931, allocations: 12 kB / 0.842 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/0.1931, allocations: 20.42 kB / 0.842 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.1936, allocations: 297.5 kB / 0.8423 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.1957, allocations: 1.272 MB / 0.8435 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.1962, allocations: 249 kB / 0.8438 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1964, allocations: 101.7 kB / 0.8439 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.1964, allocations: 8 kB / 0.8439 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1965, allocations: 38.83 kB / 0.8439 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.1965, allocations: 0 / 0.8439 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.00254/0.199, allocations: 0.9036 MB / 0.8448 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.1991, allocations: 77.11 kB / 0.8449 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.1993, allocations: 212.4 kB / 0.8451 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1993, allocations: 33.7 kB / 0.8451 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.1994, allocations: 184.4 kB / 0.8453 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.1995, allocations: 79.33 kB / 0.8454 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1996, allocations: 65.7 kB / 0.8454 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1998, allocations: 330.8 kB / 0.8457 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.2, allocations: 131.9 kB / 0.8459 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.2002, allocations: 211.1 kB / 0.8461 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.2008, allocations: 368.2 kB / 0.8464 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2008, allocations: 0 / 0.8464 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009167/0.2017, allocations: 0.5042 MB / 0.8469 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2017, allocations: 10.34 kB / 0.8469 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.2017, allocations: 4 kB / 0.8469 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/0.2022, allocations: 155.6 kB / 0.8471 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.2025, allocations: 59.89 kB / 0.8471 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.2059, allocations: 3.984 MB / 0.851 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.2061, allocations: 19.97 kB / 0.851 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.2061, allocations: 12 kB / 0.851 GB, free: 5.465 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.0001886/0.2063, allocations: 177.9 kB / 0.8512 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.2064, allocations: 19.91 kB / 0.8512 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009216/0.2073, allocations: 465.9 kB / 0.8517 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.2073, allocations: 4.094 kB / 0.8517 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2073, allocations: 7.938 kB / 0.8517 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2073, allocations: 3.984 kB / 0.8517 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.2089, allocations: 0.9404 MB / 0.8526 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.209, allocations: 4 kB / 0.8526 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.2091, allocations: 27.98 kB / 0.8526 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00042/0.2095, allocations: 147.5 kB / 0.8528 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2095, allocations: 7.984 kB / 0.8528 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/0.213, allocations: 3.945 MB / 0.8566 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.213, allocations: 0 / 0.8566 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/0.2139, allocations: 0.6216 MB / 0.8572 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.214, allocations: 56.02 kB / 0.8573 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.214, allocations: 12 kB / 0.8573 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.2142, allocations: 15.98 kB / 0.8573 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.2143, allocations: 27.95 kB / 0.8574 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.2143, allocations: 8 kB / 0.8574 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001769/0.2145, allocations: 165.4 kB / 0.8575 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2145, allocations: 0 / 0.8575 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005837/0.2151, allocations: 95.86 kB / 0.8576 GB, free: 14.28 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.00132/0.2164, allocations: 1.202 MB / 0.8588 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.2175, allocations: 0.5554 MB / 0.8593 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.2175, allocations: 4 kB / 0.8593 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.2181, allocations: 389.1 kB / 0.8597 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.2186, allocations: 46.72 kB / 0.8597 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/0.2234, allocations: 3.336 MB / 0.863 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2236, allocations: 169.2 kB / 0.8632 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.2238, allocations: 62.17 kB / 0.8632 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2239, allocations: 75.41 kB / 0.8633 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2239, allocations: 0 / 0.8633 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.2589, allocations: 7.151 MB / 0.8703 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/13.77, allocations: 6.812 kB / 0.8703 GB, free: 1.184 MB / 0.6075 GB " [Timeout remaining time 646] (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: 18.145310117979534] Failed to read output from testmodel.py, exit status != 0: 13.958474148996174 13.986076955 13.791049301 Calling exit ...