Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001354/0.001354, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001838/0.001838, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.805 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.002537/0.002537, allocations: 292.4 kB / 312.7 MB, free: 2.629 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.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.002956/0.002956, allocations: 105.8 kB / 0.7395 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1725, allocations: 95.37 MB / 0.8326 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006067/0.1785, allocations: 4.168 MB / 0.8367 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004024/0.1825, allocations: 2.307 MB / 0.839 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.1828, allocations: 23.75 kB / 0.839 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.1839, allocations: 370.3 kB / 0.8393 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008168/0.1847, allocations: 386.2 kB / 0.8397 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007517/0.1855, allocations: 325 kB / 0.84 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007601/0.1862, allocations: 0.683 MB / 0.8407 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.1866, allocations: 238.3 kB / 0.8409 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.187, allocations: 274.9 kB / 0.8412 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.1874, allocations: 258.8 kB / 0.8414 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.1875, allocations: 28 kB / 0.8414 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006916/0.1882, allocations: 387.1 kB / 0.8418 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.1883, allocations: 151.5 kB / 0.842 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.1885, allocations: 183.1 kB / 0.8421 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009209/0.1894, allocations: 0.751 MB / 0.8429 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1894, allocations: 3.938 kB / 0.8429 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1894, allocations: 4 kB / 0.8429 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.1895, allocations: 0 / 0.8429 GB, free: 13.84 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001213/0.1907, allocations: 0.7265 MB / 0.8436 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1907, allocations: 9.344 kB / 0.8436 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.327e-05/0.1908, allocations: 78.7 kB / 0.8437 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.1921, allocations: 184.4 kB / 0.8438 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.1928, allocations: 377.6 kB / 0.8442 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.1928, allocations: 25.36 kB / 0.8442 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/0.1929, allocations: 32.38 kB / 0.8443 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009997/0.1939, allocations: 0.7268 MB / 0.845 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.1939, allocations: 15.89 kB / 0.845 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/0.1939, allocations: 15.98 kB / 0.845 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.3e-05/0.194, allocations: 51.95 kB / 0.845 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.1948, allocations: 0.4923 MB / 0.8455 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/0.198, allocations: 3.207 MB / 0.8487 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.1997, allocations: 0.5977 MB / 0.8492 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.2, allocations: 170.4 kB / 0.8494 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.2, allocations: 4 kB / 0.8494 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2, allocations: 34.56 kB / 0.8494 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 1.794e-06/0.2, allocations: 4 kB / 0.8494 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002201/0.2022, allocations: 1.068 MB / 0.8505 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.2023, allocations: 106.8 kB / 0.8506 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004379/0.2027, allocations: 409.7 kB / 0.851 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.2028, allocations: 29.7 kB / 0.851 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.203, allocations: 300.1 kB / 0.8513 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.2031, allocations: 123 kB / 0.8514 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.2032, allocations: 98.25 kB / 0.8515 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2034, allocations: 358.8 kB / 0.8518 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.2037, allocations: 169.2 kB / 0.852 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.2041, allocations: 388.1 kB / 0.8524 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007934/0.2049, allocations: 0.5951 MB / 0.853 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2049, allocations: 0 / 0.853 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001111/0.2061, allocations: 0.6716 MB / 0.8536 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.2061, allocations: 12.03 kB / 0.8536 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.2061, allocations: 8 kB / 0.8536 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.2064, allocations: 102.4 kB / 0.8537 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.2068, allocations: 111.8 kB / 0.8538 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.2104, allocations: 4.019 MB / 0.8578 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/0.2107, allocations: 32.03 kB / 0.8578 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.2108, allocations: 28 kB / 0.8578 GB, free: 13.54 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.211, allocations: 206.2 kB / 0.858 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.2111, allocations: 51.67 kB / 0.8581 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000915/0.212, allocations: 0.5229 MB / 0.8586 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.212, allocations: 4 kB / 0.8586 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2121, allocations: 0 / 0.8586 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2121, allocations: 11.98 kB / 0.8586 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.214, allocations: 1.209 MB / 0.8598 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.214, allocations: 0 / 0.8598 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.2142, allocations: 59.91 kB / 0.8598 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.2145, allocations: 98.72 kB / 0.8599 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.2145, allocations: 8 kB / 0.8599 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.2179, allocations: 4.011 MB / 0.8639 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.2179, allocations: 7.938 kB / 0.8639 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/0.2189, allocations: 0.7751 MB / 0.8646 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.2191, allocations: 79.62 kB / 0.8647 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.2192, allocations: 16.25 kB / 0.8647 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.2195, allocations: 19.97 kB / 0.8647 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.2195, allocations: 39.83 kB / 0.8648 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2196, allocations: 12 kB / 0.8648 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003538/0.2199, allocations: 279.1 kB / 0.865 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2199, allocations: 0 / 0.865 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007057/0.2206, allocations: 128 kB / 0.8652 GB, free: 5.492 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.2219, allocations: 1.33 MB / 0.8665 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.2231, allocations: 0.7781 MB / 0.8672 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.2231, allocations: 7.938 kB / 0.8672 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007296/0.2239, allocations: 0.536 MB / 0.8678 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.2248, allocations: 127.5 kB / 0.8679 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.2305, allocations: 4.583 MB / 0.8724 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.2308, allocations: 252.2 kB / 0.8726 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002846/0.2311, allocations: 108.5 kB / 0.8727 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.2313, allocations: 151.4 kB / 0.8728 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of SimCode: time 7.22e-07/0.2313, allocations: 0 / 0.8728 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/0.2809, allocations: 11.11 MB / 0.8837 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.23, allocations: 1.25 kB / 0.8837 GB, free: 2.305 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_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_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.511603369843215] Failed to read output from testmodel.py, exit status != 0: 12.346977893263102 12.370829874 12.17711897 Calling exit ...