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.001324/0.001324, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001741/0.001741, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 8 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.002431/0.002431, allocations: 285.3 kB / 312.7 MB, free: 2.809 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.203/1.203, allocations: 180.6 MB / 0.5369 GB, free: 13 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.002735/0.002735, allocations: 105.7 kB / 0.7396 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1651, 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.006303/0.1714, allocations: 4.444 MB / 0.8371 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.1753, allocations: 2.478 MB / 0.8395 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.1756, allocations: 31.69 kB / 0.8395 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.1767, allocations: 390.8 kB / 0.8399 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008676/0.1776, allocations: 390.1 kB / 0.8403 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.1783, allocations: 321.4 kB / 0.8406 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008847/0.1792, allocations: 0.6792 MB / 0.8412 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/0.1796, allocations: 234.2 kB / 0.8415 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.18, allocations: 271 kB / 0.8417 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000449/0.1805, allocations: 282.8 kB / 0.842 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.529e-05/0.1806, allocations: 28 kB / 0.842 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007128/0.1813, allocations: 439 kB / 0.8424 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.1814, allocations: 155.5 kB / 0.8426 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.1817, allocations: 242.6 kB / 0.8428 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000933/0.1826, allocations: 0.7277 MB / 0.8435 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.1826, allocations: 3.984 kB / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1826, allocations: 0 / 0.8435 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.1827, 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.001246/0.1839, allocations: 0.7265 MB / 0.8442 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1839, allocations: 17.34 kB / 0.8443 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.372e-05/0.184, allocations: 82.69 kB / 0.8443 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.1853, allocations: 180.4 kB / 0.8445 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.186, allocations: 373.6 kB / 0.8449 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.186, allocations: 25.38 kB / 0.8449 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.1861, allocations: 40.3 kB / 0.8449 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008882/0.187, allocations: 0.6508 MB / 0.8456 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.187, allocations: 11.89 kB / 0.8456 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.1871, allocations: 12 kB / 0.8456 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/0.1871, allocations: 51.97 kB / 0.8456 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007403/0.1879, allocations: 0.4915 MB / 0.8461 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.1913, allocations: 3.741 MB / 0.8498 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.1929, allocations: 0.6126 MB / 0.8504 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.1932, allocations: 170.4 kB / 0.8505 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.1932, allocations: 8 kB / 0.8505 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1932, allocations: 42.5 kB / 0.8506 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.1932, allocations: 0 / 0.8506 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002127/0.1954, allocations: 1.065 MB / 0.8516 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1954, allocations: 110.8 kB / 0.8517 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.1958, allocations: 397.8 kB / 0.8521 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1958, allocations: 29.7 kB / 0.8521 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.196, allocations: 292.1 kB / 0.8524 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.1961, allocations: 123 kB / 0.8525 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.1963, allocations: 106.2 kB / 0.8526 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1964, allocations: 354.8 kB / 0.853 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.1967, allocations: 177.2 kB / 0.8531 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.1971, allocations: 372.2 kB / 0.8535 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.1979, allocations: 0.599 MB / 0.8541 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1979, allocations: 0 / 0.8541 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001126/0.199, allocations: 0.6754 MB / 0.8547 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.199, allocations: 8.125 kB / 0.8547 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.199, allocations: 12 kB / 0.8548 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/0.1994, allocations: 94.44 kB / 0.8548 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.1998, allocations: 111.8 kB / 0.855 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/0.2032, allocations: 4.038 MB / 0.8589 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.2035, allocations: 36.08 kB / 0.8589 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.2035, allocations: 31.92 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.0002247/0.2037, allocations: 198.2 kB / 0.8591 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.2038, allocations: 47.67 kB / 0.8592 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008744/0.2047, allocations: 0.5267 MB / 0.8597 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2047, allocations: 4 kB / 0.8597 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2047, allocations: 4 kB / 0.8597 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2047, allocations: 0 / 0.8597 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.2066, allocations: 1.251 MB / 0.8609 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.2066, allocations: 3.984 kB / 0.8609 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.2068, allocations: 63.91 kB / 0.861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/0.2071, allocations: 90.78 kB / 0.8611 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.2071, allocations: 12 kB / 0.8611 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003227/0.2103, allocations: 4.027 MB / 0.865 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2103, allocations: 4 kB / 0.865 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009126/0.2112, allocations: 0.7829 MB / 0.8658 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.2114, allocations: 75.67 kB / 0.8659 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.2114, allocations: 8 kB / 0.8659 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.2117, allocations: 24.25 kB / 0.8659 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.2118, allocations: 39.83 kB / 0.8659 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2118, allocations: 12 kB / 0.866 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002907/0.2121, allocations: 283.1 kB / 0.8662 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2121, allocations: 0 / 0.8662 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006086/0.2127, allocations: 124 kB / 0.8663 GB, free: 4.586 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.001196/0.2139, allocations: 1.334 MB / 0.8676 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.2151, allocations: 0.7813 MB / 0.8684 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2151, allocations: 0 / 0.8684 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006959/0.2158, allocations: 0.5324 MB / 0.8689 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.2167, allocations: 142.7 kB / 0.8691 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005577/0.2222, allocations: 4.56 MB / 0.8735 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.2227, allocations: 0.8586 MB / 0.8744 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002551/0.223, allocations: 108.5 kB / 0.8745 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.2232, allocations: 151.4 kB / 0.8746 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2232, allocations: 0 / 0.8746 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04787/0.2711, allocations: 10.5 MB / 0.8849 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.4, allocations: 9.172 kB / 0.8849 GB, free: 1.324 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.396721523953602] Failed to read output from testmodel.py, exit status != 0: 11.50786923384294 11.524345708 11.338681177 Calling exit ...