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.001765/0.001765, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002362/0.002362, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.513/1.513, allocations: 230.6 MB / 256 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.002737/0.002737, allocations: 291.4 kB / 312.7 MB, free: 2.59 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.328/1.328, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",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.002943/0.002943, allocations: 105.8 kB / 0.7395 GB, free: 27.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1808, allocations: 95.39 MB / 0.8326 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005024/0.1858, allocations: 3.061 MB / 0.8356 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003477/0.1893, allocations: 1.87 MB / 0.8374 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1894, allocations: 8 kB / 0.8375 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000977/0.1904, allocations: 286.8 kB / 0.8377 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004966/0.1909, allocations: 195.1 kB / 0.8379 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.1916, allocations: 255.3 kB / 0.8382 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.192, allocations: 314.9 kB / 0.8385 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.1923, allocations: 152.9 kB / 0.8386 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.1926, allocations: 143.5 kB / 0.8387 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.1929, allocations: 147.4 kB / 0.8389 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.1929, allocations: 20 kB / 0.8389 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006839/0.1936, allocations: 379.2 kB / 0.8393 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1937, allocations: 87.73 kB / 0.8393 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1939, allocations: 103.6 kB / 0.8394 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.1946, allocations: 0.4944 MB / 0.8399 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1946, allocations: 0 / 0.8399 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1946, allocations: 0 / 0.8399 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1946, allocations: 0 / 0.8399 GB, free: 0.8672 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.0009451/0.1955, allocations: 493.1 kB / 0.8404 GB, free: 360 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1956, allocations: 13.34 kB / 0.8404 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/0.1957, allocations: 58.72 kB / 0.8405 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007692/0.1964, allocations: 116.6 kB / 0.8406 GB, free: 164 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.1968, allocations: 208.6 kB / 0.8408 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1968, allocations: 16.81 kB / 0.8408 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.1969, allocations: 20.38 kB / 0.8408 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.1975, allocations: 408.3 kB / 0.8412 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1975, allocations: 3.938 kB / 0.8412 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.1975, allocations: 11.83 kB / 0.8412 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.1976, allocations: 24.42 kB / 0.8412 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.198, allocations: 293.5 kB / 0.8415 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.2001, allocations: 1.268 MB / 0.8428 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.2006, allocations: 241.1 kB / 0.843 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.2008, allocations: 109.7 kB / 0.8431 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.2008, allocations: 15.88 kB / 0.8431 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.2009, allocations: 34.84 kB / 0.8431 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.2009, allocations: 0 / 0.8431 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002464/0.2034, allocations: 0.9025 MB / 0.844 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.2034, allocations: 88.98 kB / 0.8441 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.2036, allocations: 216.3 kB / 0.8443 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.2037, allocations: 29.7 kB / 0.8443 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2038, allocations: 172.5 kB / 0.8445 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.622e-05/0.2039, allocations: 79.28 kB / 0.8446 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.204, allocations: 69.64 kB / 0.8446 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2041, allocations: 330.8 kB / 0.845 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.2043, allocations: 131.9 kB / 0.8451 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.2046, allocations: 207.1 kB / 0.8453 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/0.2051, allocations: 376.6 kB / 0.8456 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2051, allocations: 0 / 0.8456 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008648/0.206, allocations: 0.5043 MB / 0.8461 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.206, allocations: 8 kB / 0.8461 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.206, allocations: 0 / 0.8461 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.2065, allocations: 159.5 kB / 0.8463 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.2068, allocations: 59.91 kB / 0.8464 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.2102, allocations: 3.98 MB / 0.8502 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.2104, allocations: 20.02 kB / 0.8503 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2104, allocations: 15.98 kB / 0.8503 GB, free: 5.625 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.0002126/0.2106, allocations: 169.9 kB / 0.8504 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.2107, allocations: 19.86 kB / 0.8505 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009017/0.2116, allocations: 481.8 kB / 0.8509 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2116, allocations: 4 kB / 0.8509 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2116, allocations: 0 / 0.8509 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2116, allocations: 0 / 0.8509 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2132, allocations: 0.9383 MB / 0.8518 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2132, allocations: 0 / 0.8518 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.2134, allocations: 43.84 kB / 0.8519 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003921/0.2138, allocations: 135.6 kB / 0.852 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.2138, allocations: 8 kB / 0.852 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003178/0.217, allocations: 3.949 MB / 0.8559 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.217, allocations: 4.031 kB / 0.8559 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.2178, allocations: 0.6216 MB / 0.8565 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.2179, allocations: 43.83 kB / 0.8565 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.218, allocations: 15.92 kB / 0.8565 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2182, allocations: 15.98 kB / 0.8566 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.2182, allocations: 28 kB / 0.8566 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.2183, allocations: 12 kB / 0.8566 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001612/0.2184, allocations: 165.5 kB / 0.8567 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2184, allocations: 0 / 0.8567 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005231/0.2189, allocations: 87.94 kB / 0.8568 GB, free: 14.45 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.001311/0.2202, allocations: 1.213 MB / 0.858 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009661/0.2212, allocations: 0.5517 MB / 0.8586 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2212, allocations: 0 / 0.8586 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005337/0.2217, allocations: 395.9 kB / 0.8589 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.2222, allocations: 45.09 kB / 0.859 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.2266, allocations: 3.336 MB / 0.8622 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.2268, allocations: 173.2 kB / 0.8624 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.227, allocations: 62.23 kB / 0.8625 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.2271, allocations: 75.41 kB / 0.8625 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.2271, allocations: 0 / 0.8625 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04133/0.2685, allocations: 7.358 MB / 0.8697 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.43, allocations: 4.547 kB / 0.8697 GB, free: 1.113 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.988172659184784] Failed to read output from testmodel.py, exit status != 0: 13.553885411005467 13.570756905 13.372953055 Calling exit ...