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.001546/0.001546, allocations: 110.1 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.00148/0.00148, allocations: 218.7 kB / 23.04 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.002605/0.002605, allocations: 278.7 kB / 313.5 MB, free: 2.828 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.236/1.236, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.004678/0.004678, allocations: 99.09 kB / 0.7404 GB, free: 28.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1717, allocations: 95.38 MB / 0.8335 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006269/0.178, allocations: 4.456 MB / 0.8378 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004091/0.1821, allocations: 2.482 MB / 0.8403 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.1824, allocations: 23.75 kB / 0.8403 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.1836, allocations: 394.2 kB / 0.8407 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009252/0.1845, allocations: 382.2 kB / 0.841 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.1853, allocations: 325.6 kB / 0.8413 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008694/0.1862, allocations: 0.683 MB / 0.842 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.1865, allocations: 234.3 kB / 0.8422 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.187, allocations: 271 kB / 0.8425 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.1874, allocations: 278.8 kB / 0.8428 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.104e-05/0.1875, allocations: 32 kB / 0.8428 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.1882, allocations: 447 kB / 0.8432 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.1884, allocations: 147.5 kB / 0.8434 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.1886, allocations: 234.7 kB / 0.8436 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009339/0.1896, allocations: 0.7354 MB / 0.8443 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1896, allocations: 0 / 0.8443 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1896, allocations: 0 / 0.8443 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.1896, allocations: 0 / 0.8443 GB, free: 13.59 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.001187/0.1908, allocations: 0.7343 MB / 0.845 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1908, allocations: 9.344 kB / 0.845 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.516e-05/0.1908, allocations: 9.188 kB / 0.845 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.331e-05/0.1909, allocations: 82.69 kB / 0.8451 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.1923, allocations: 184.4 kB / 0.8453 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.1929, allocations: 381.5 kB / 0.8457 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.193, allocations: 21.38 kB / 0.8457 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.193, allocations: 40.36 kB / 0.8457 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.194, allocations: 0.6513 MB / 0.8463 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.194, allocations: 7.953 kB / 0.8464 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.194, allocations: 12 kB / 0.8464 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.128e-05/0.1941, allocations: 55.91 kB / 0.8464 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/0.1949, allocations: 0.4915 MB / 0.8469 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/0.1984, allocations: 3.748 MB / 0.8506 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.2001, allocations: 0.601 MB / 0.8511 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.2004, allocations: 162.5 kB / 0.8513 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2004, allocations: 7.938 kB / 0.8513 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.2004, allocations: 38.56 kB / 0.8513 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.2004, allocations: 4 kB / 0.8513 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002229/0.2027, allocations: 1.065 MB / 0.8524 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.2027, allocations: 114.8 kB / 0.8525 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.2032, allocations: 401.9 kB / 0.8529 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.2032, allocations: 33.64 kB / 0.8529 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.2034, allocations: 288.1 kB / 0.8532 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.2035, allocations: 115 kB / 0.8533 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.2037, allocations: 106.2 kB / 0.8534 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2038, allocations: 354.7 kB / 0.8537 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.2041, allocations: 177.2 kB / 0.8539 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/0.2045, allocations: 384.2 kB / 0.8543 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007539/0.2053, allocations: 0.5913 MB / 0.8548 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2053, allocations: 4 kB / 0.8549 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001125/0.2064, allocations: 0.6673 MB / 0.8555 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2065, allocations: 8 kB / 0.8555 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2065, allocations: 7.938 kB / 0.8555 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000349/0.2068, allocations: 107 kB / 0.8556 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.2072, allocations: 111.8 kB / 0.8557 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.2107, allocations: 4.039 MB / 0.8597 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.2111, allocations: 27.98 kB / 0.8597 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.2112, allocations: 27.98 kB / 0.8597 GB, free: 12.71 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.0002571/0.2114, allocations: 198.3 kB / 0.8599 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.2116, allocations: 51.67 kB / 0.86 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009384/0.2125, allocations: 0.5228 MB / 0.8605 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.2125, allocations: 4 kB / 0.8605 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2125, allocations: 0 / 0.8605 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2125, allocations: 4 kB / 0.8605 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.2144, allocations: 1.259 MB / 0.8617 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2144, allocations: 4.281 kB / 0.8617 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.2146, allocations: 59.89 kB / 0.8618 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.2149, allocations: 90.5 kB / 0.8619 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.2149, allocations: 15.94 kB / 0.8619 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.2183, allocations: 4.026 MB / 0.8658 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2183, allocations: 0 / 0.8658 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009908/0.2193, allocations: 0.7829 MB / 0.8666 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.2195, allocations: 75.67 kB / 0.8666 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.2196, allocations: 12 kB / 0.8667 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.2199, allocations: 27.97 kB / 0.8667 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.22, allocations: 35.83 kB / 0.8667 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.22, allocations: 12 kB / 0.8667 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003166/0.2203, allocations: 275.1 kB / 0.867 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2203, allocations: 0 / 0.867 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006873/0.221, allocations: 124 kB / 0.8671 GB, free: 4.621 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.001329/0.2223, allocations: 1.342 MB / 0.8684 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.2237, allocations: 0.7858 MB / 0.8692 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.2237, allocations: 0 / 0.8692 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007491/0.2244, allocations: 0.5279 MB / 0.8697 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.2254, allocations: 137.9 kB / 0.8698 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.2313, allocations: 4.57 MB / 0.8743 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.2318, allocations: 0.8585 MB / 0.8751 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003099/0.2322, allocations: 100.5 kB / 0.8752 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.2324, allocations: 159.4 kB / 0.8754 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of SimCode: time 8.81e-07/0.2324, allocations: 4 kB / 0.8754 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/0.2738, allocations: 10.52 MB / 0.8857 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.4, allocations: 17.52 kB / 0.8857 GB, free: 1.344 MB / 0.6231 GB " [Timeout remaining time 647] (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: 16.58444873301778] Failed to read output from testmodel.py, exit status != 0: 12.570008733018767 12.591090022 12.397459668 Calling exit ...