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.001554/0.001554, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001899/0.001899, allocations: 221.5 kB / 23.05 MB, free: 5.074 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.408/1.408, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.0026/0.0026, allocations: 283.9 kB / 313.5 MB, free: 2.789 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.2/1.2, allocations: 180.6 MB / 0.5377 GB, free: 13.06 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.002824/0.002824, allocations: 97.02 kB / 0.7403 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1652, allocations: 95.38 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004847/0.1701, allocations: 3.201 MB / 0.8366 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.1732, allocations: 2.038 MB / 0.8386 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1733, allocations: 4 kB / 0.8386 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009081/0.1742, allocations: 290.8 kB / 0.8389 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.1747, allocations: 195.1 kB / 0.8391 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.1753, allocations: 255.2 kB / 0.8393 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.1757, allocations: 318.9 kB / 0.8396 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.176, allocations: 156.8 kB / 0.8398 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.1762, allocations: 131.6 kB / 0.8399 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.1765, allocations: 163.4 kB / 0.84 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.1765, allocations: 24 kB / 0.8401 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.1772, allocations: 423.2 kB / 0.8405 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1773, allocations: 91.72 kB / 0.8406 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.1774, allocations: 119.4 kB / 0.8407 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.178, allocations: 498.3 kB / 0.8411 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.178, allocations: 0 / 0.8411 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.178, allocations: 3.938 kB / 0.8411 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.178, allocations: 0 / 0.8411 GB, free: 0.7539 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.0008621/0.1789, allocations: 0.4971 MB / 0.8416 GB, free: 228 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1789, allocations: 13.34 kB / 0.8416 GB, free: 216 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.179, allocations: 4.625 kB / 0.8417 GB, free: 212 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.729e-05/0.179, allocations: 54.73 kB / 0.8417 GB, free: 148 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007871/0.1798, allocations: 116.6 kB / 0.8418 GB, free: 32 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.1802, allocations: 212.7 kB / 0.842 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1802, allocations: 12.81 kB / 0.842 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.1802, allocations: 28.36 kB / 0.8421 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.1807, allocations: 348.6 kB / 0.8424 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1808, allocations: 0 / 0.8424 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.1808, allocations: 11.98 kB / 0.8424 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.1808, allocations: 32.41 kB / 0.8424 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004848/0.1813, allocations: 293.5 kB / 0.8427 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.1835, allocations: 1.62 MB / 0.8443 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.184, allocations: 245 kB / 0.8445 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1841, allocations: 99.92 kB / 0.8446 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/0.1842, allocations: 19.92 kB / 0.8446 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.1842, allocations: 30.84 kB / 0.8447 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1842, allocations: 0 / 0.8447 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002445/0.1867, allocations: 0.8962 MB / 0.8455 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.1868, allocations: 101 kB / 0.8456 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.187, allocations: 208.5 kB / 0.8458 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.187, allocations: 29.7 kB / 0.8459 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1871, allocations: 176.4 kB / 0.846 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.1872, allocations: 87.31 kB / 0.8461 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1873, allocations: 57.7 kB / 0.8462 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1874, allocations: 330.8 kB / 0.8465 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.1876, allocations: 131.9 kB / 0.8466 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.1879, allocations: 211.1 kB / 0.8468 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.1884, allocations: 368.4 kB / 0.8472 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1884, allocations: 0 / 0.8472 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008706/0.1893, allocations: 0.5121 MB / 0.8477 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1893, allocations: 8 kB / 0.8477 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1893, allocations: 0 / 0.8477 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.1898, allocations: 155.5 kB / 0.8478 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.19, allocations: 55.91 kB / 0.8479 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.1934, allocations: 3.995 MB / 0.8518 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1936, allocations: 16.08 kB / 0.8518 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1936, allocations: 15.94 kB / 0.8518 GB, free: 5.125 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.0002194/0.1939, allocations: 169.6 kB / 0.852 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.1939, allocations: 20 kB / 0.852 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000914/0.1948, allocations: 474.5 kB / 0.8524 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1948, allocations: 0 / 0.8524 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1948, allocations: 8 kB / 0.8525 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1949, allocations: 7.922 kB / 0.8525 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.1965, allocations: 0.9638 MB / 0.8534 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1965, allocations: 4 kB / 0.8534 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.1966, allocations: 35.92 kB / 0.8534 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.197, allocations: 139.6 kB / 0.8536 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.197, allocations: 8 kB / 0.8536 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/0.2001, allocations: 3.952 MB / 0.8574 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2001, allocations: 160 / 0.8574 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008564/0.201, allocations: 0.629 MB / 0.8581 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.2011, allocations: 51.77 kB / 0.8581 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.2012, allocations: 8 kB / 0.8581 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.2014, allocations: 23.92 kB / 0.8581 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.2014, allocations: 31.89 kB / 0.8582 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.2015, allocations: 8 kB / 0.8582 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001557/0.2016, allocations: 157.5 kB / 0.8583 GB, free: 14 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.2016, allocations: 0 / 0.8583 GB, free: 14 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005266/0.2021, allocations: 103.8 kB / 0.8584 GB, free: 13.9 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.001209/0.2033, allocations: 1.191 MB / 0.8596 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000948/0.2043, allocations: 0.5628 MB / 0.8601 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.2043, allocations: 4 kB / 0.8601 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005362/0.2048, allocations: 398.2 kB / 0.8605 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.2053, allocations: 47.69 kB / 0.8606 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.2096, allocations: 3.339 MB / 0.8638 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.2101, allocations: 0.7792 MB / 0.8646 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.2102, allocations: 58.23 kB / 0.8646 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2104, allocations: 67.42 kB / 0.8647 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.2104, allocations: 0 / 0.8647 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0467/0.2571, allocations: 7.164 MB / 0.8717 GB, free: 140 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.04, allocations: 23.94 kB / 0.8717 GB, free: 124 kB / 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.15652715996839] Failed to read output from testmodel.py, exit status != 0: 13.209484435035847 13.225046615 13.043927519 Calling exit ...