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.001264/0.001264, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001472/0.001472, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.996 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.002562/0.002562, allocations: 290.7 kB / 312.7 MB, free: 2.797 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.19/1.19, allocations: 180.6 MB / 0.5369 GB, free: 13.09 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.002899/0.002899, allocations: 106 kB / 0.7396 GB, free: 28.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1643, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006451/0.1707, allocations: 4.444 MB / 0.8371 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004194/0.1749, allocations: 2.494 MB / 0.8395 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.1752, allocations: 23.75 kB / 0.8395 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.1764, allocations: 380.8 kB / 0.8399 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009602/0.1773, allocations: 394.1 kB / 0.8403 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.1782, allocations: 311.2 kB / 0.8406 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008703/0.179, allocations: 0.6869 MB / 0.8412 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003971/0.1794, allocations: 234.3 kB / 0.8415 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.1799, allocations: 274.9 kB / 0.8417 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.1803, allocations: 278.8 kB / 0.842 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.1804, allocations: 32 kB / 0.842 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007682/0.1811, allocations: 443 kB / 0.8424 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1813, allocations: 147.5 kB / 0.8426 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.1815, allocations: 238.6 kB / 0.8428 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.1825, allocations: 0.7316 MB / 0.8435 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1825, allocations: 0 / 0.8435 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1825, allocations: 4 kB / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1825, allocations: 0 / 0.8435 GB, free: 13.55 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.001188/0.1837, allocations: 0.7343 MB / 0.8442 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1837, allocations: 9.344 kB / 0.8443 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.508e-05/0.1838, allocations: 74.72 kB / 0.8443 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.1851, allocations: 184.4 kB / 0.8445 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/0.1858, allocations: 377.5 kB / 0.8449 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.1858, allocations: 29.36 kB / 0.8449 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.1859, allocations: 36.36 kB / 0.8449 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000924/0.1868, allocations: 0.6476 MB / 0.8456 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1868, allocations: 7.891 kB / 0.8456 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.1869, allocations: 19.98 kB / 0.8456 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.982e-05/0.1869, allocations: 59.95 kB / 0.8456 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.1877, allocations: 499.3 kB / 0.8461 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003561/0.1913, allocations: 3.748 MB / 0.8498 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.193, allocations: 0.6048 MB / 0.8504 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.1932, allocations: 162.5 kB / 0.8505 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1933, allocations: 7.938 kB / 0.8505 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.1933, allocations: 54.42 kB / 0.8506 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.1933, allocations: 0 / 0.8506 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002262/0.1956, allocations: 1.056 MB / 0.8516 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.1956, allocations: 110.8 kB / 0.8517 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.1961, allocations: 405.8 kB / 0.8521 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.1961, allocations: 33.7 kB / 0.8521 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.1963, allocations: 281.8 kB / 0.8524 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.1964, allocations: 123 kB / 0.8525 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.1966, allocations: 102.2 kB / 0.8526 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1967, allocations: 354.8 kB / 0.853 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.197, allocations: 173.2 kB / 0.8531 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.1974, allocations: 384.1 kB / 0.8535 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007535/0.1982, allocations: 0.599 MB / 0.8541 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1982, allocations: 0 / 0.8541 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001111/0.1993, allocations: 0.6711 MB / 0.8547 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1993, allocations: 8 kB / 0.8547 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1993, allocations: 8 kB / 0.8548 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003592/0.1997, allocations: 107.1 kB / 0.8549 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.2001, allocations: 107.8 kB / 0.855 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/0.2036, allocations: 4.039 MB / 0.8589 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.204, allocations: 31.97 kB / 0.8589 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.204, allocations: 24 kB / 0.859 GB, free: 12.68 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.0002525/0.2043, allocations: 198.3 kB / 0.8591 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2044, allocations: 55.66 kB / 0.8592 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009073/0.2053, allocations: 0.5185 MB / 0.8597 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2053, allocations: 4 kB / 0.8597 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2053, allocations: 0 / 0.8597 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2053, allocations: 3.984 kB / 0.8597 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.2072, allocations: 1.259 MB / 0.8609 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.2072, allocations: 4 kB / 0.8609 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.2074, allocations: 59.89 kB / 0.861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.2077, allocations: 90.5 kB / 0.8611 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.2077, allocations: 8 kB / 0.8611 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.2112, allocations: 4.03 MB / 0.865 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.2112, allocations: 4.031 kB / 0.865 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/0.2121, allocations: 0.779 MB / 0.8658 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.2123, allocations: 79.67 kB / 0.8659 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.2124, allocations: 12 kB / 0.8659 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.2127, allocations: 19.97 kB / 0.8659 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.2127, allocations: 39.83 kB / 0.8659 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.2127, allocations: 12 kB / 0.866 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003103/0.2131, allocations: 279.1 kB / 0.8662 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2131, allocations: 4.281 kB / 0.8662 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006936/0.2137, allocations: 120 kB / 0.8663 GB, free: 4.594 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.001272/0.215, allocations: 1.344 MB / 0.8676 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.2163, allocations: 0.7781 MB / 0.8684 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2163, allocations: 0 / 0.8684 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007389/0.2171, allocations: 0.5396 MB / 0.8689 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.218, allocations: 141.1 kB / 0.8691 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.2238, allocations: 4.553 MB / 0.8735 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.2243, allocations: 0.8586 MB / 0.8744 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002907/0.2246, allocations: 108.5 kB / 0.8745 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.2248, allocations: 159.4 kB / 0.8746 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.2248, allocations: 0 / 0.8746 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/0.2707, allocations: 10.49 MB / 0.8849 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.91, allocations: 2.562 kB / 0.8849 GB, free: 1.34 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.014737948000402] Failed to read output from testmodel.py, exit status != 0: 12.023994817998755 12.049852885 11.86272708 Calling exit ...