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.001417/0.001417, 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.001693/0.001693, allocations: 212.2 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.77 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.002477/0.002477, allocations: 286.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.221/1.221, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.002991/0.002991, allocations: 103.5 kB / 0.7395 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1847, allocations: 95.38 MB / 0.8326 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006279/0.1909, allocations: 4.155 MB / 0.8367 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004107/0.195, allocations: 2.307 MB / 0.839 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.1953, allocations: 23.75 kB / 0.839 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.1965, allocations: 381.2 kB / 0.8393 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009225/0.1974, allocations: 382.2 kB / 0.8397 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.1982, allocations: 323.2 kB / 0.84 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007692/0.199, allocations: 0.6792 MB / 0.8407 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.1994, allocations: 242.4 kB / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.1998, allocations: 267 kB / 0.8412 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.2002, allocations: 270.8 kB / 0.8414 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.2003, allocations: 28 kB / 0.8414 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006604/0.201, allocations: 383 kB / 0.8418 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001684/0.2011, allocations: 147.5 kB / 0.842 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.2013, allocations: 195 kB / 0.8421 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009464/0.2023, allocations: 0.7471 MB / 0.8429 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2023, allocations: 0 / 0.8429 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2023, allocations: 0 / 0.8429 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.2023, allocations: 0 / 0.8429 GB, free: 13.83 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.00124/0.2035, allocations: 0.7226 MB / 0.8436 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2036, allocations: 9.344 kB / 0.8436 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.2037, allocations: 86.62 kB / 0.8437 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.205, allocations: 184.4 kB / 0.8438 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.2057, allocations: 373.6 kB / 0.8442 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.2058, allocations: 29.36 kB / 0.8442 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/0.2059, allocations: 36.36 kB / 0.8443 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2069, allocations: 0.7261 MB / 0.845 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.2069, allocations: 7.953 kB / 0.845 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/0.2069, allocations: 19.98 kB / 0.845 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-05/0.207, allocations: 51.91 kB / 0.845 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007457/0.2078, allocations: 499.3 kB / 0.8455 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.2112, allocations: 3.207 MB / 0.8487 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.2129, allocations: 0.6054 MB / 0.8492 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.2132, allocations: 166.4 kB / 0.8494 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2132, allocations: 4 kB / 0.8494 GB, free: 6.781 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.2132, allocations: 34.56 kB / 0.8494 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.2132, allocations: 0 / 0.8494 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002205/0.2154, allocations: 1.069 MB / 0.8505 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.2155, allocations: 110.8 kB / 0.8506 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.216, allocations: 405.8 kB / 0.851 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.216, allocations: 29.7 kB / 0.851 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.2162, allocations: 300.1 kB / 0.8513 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/0.2163, allocations: 115.1 kB / 0.8514 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.2165, allocations: 102.2 kB / 0.8515 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2166, allocations: 354.8 kB / 0.8518 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.2169, allocations: 177.2 kB / 0.852 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.2173, allocations: 384.1 kB / 0.8524 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/0.2181, allocations: 0.5951 MB / 0.853 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2181, allocations: 0 / 0.853 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001108/0.2192, allocations: 0.6669 MB / 0.8536 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2192, allocations: 8.281 kB / 0.8536 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.2192, allocations: 12.83 kB / 0.8536 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.2196, allocations: 106.4 kB / 0.8537 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.22, allocations: 119.7 kB / 0.8538 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.2236, allocations: 4.019 MB / 0.8578 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.224, allocations: 27.98 kB / 0.8578 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.224, allocations: 27.98 kB / 0.8578 GB, free: 13.53 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.0002763/0.2243, allocations: 210.4 kB / 0.858 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.2244, allocations: 51.67 kB / 0.8581 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009404/0.2254, allocations: 0.519 MB / 0.8586 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2254, allocations: 7.984 kB / 0.8586 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2254, allocations: 0 / 0.8586 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2254, allocations: 4 kB / 0.8586 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.2273, allocations: 1.212 MB / 0.8598 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.2273, allocations: 4 kB / 0.8598 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.2275, allocations: 63.89 kB / 0.8598 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000283/0.2278, allocations: 90.5 kB / 0.8599 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.2278, allocations: 8 kB / 0.8599 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003449/0.2313, allocations: 4.015 MB / 0.8639 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2313, allocations: 4 kB / 0.8639 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.2323, allocations: 0.7828 MB / 0.8646 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.2326, allocations: 75.92 kB / 0.8647 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.2326, allocations: 11.98 kB / 0.8647 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.2329, allocations: 23.98 kB / 0.8647 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.233, allocations: 43.75 kB / 0.8648 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.233, allocations: 12 kB / 0.8648 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003312/0.2334, allocations: 283.2 kB / 0.8651 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2334, allocations: 0 / 0.8651 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006967/0.2341, allocations: 124 kB / 0.8652 GB, free: 5.48 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.001348/0.2354, allocations: 1.33 MB / 0.8665 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.2368, allocations: 0.782 MB / 0.8672 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2368, allocations: 0 / 0.8672 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00076/0.2375, allocations: 0.5312 MB / 0.8678 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.2385, allocations: 137.3 kB / 0.8679 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.2444, allocations: 4.574 MB / 0.8723 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.2447, allocations: 256.2 kB / 0.8726 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000302/0.245, 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.0002209/0.2452, allocations: 155.4 kB / 0.8728 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.2452, allocations: 0 / 0.8728 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.2948, allocations: 11.1 MB / 0.8837 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.89, allocations: 3.828 kB / 0.8837 GB, free: 2.301 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: 16.091690881643444] Failed to read output from testmodel.py, exit status != 0: 12.004999681841582 12.031961585 11.824849971 Calling exit ...