Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.0007408/0.0007408, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000775/0.000775, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8638/0.8638, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.001383/0.001383, allocations: 237 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6722/0.6722, allocations: 138.4 MB / 454.3 MB, free: 1.645 MB / 362.7 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.564e-05, allocations: 3.828 kB / 0.6463 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.007519/0.007534, allocations: 10.47 MB / 0.6566 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005515/0.01305, allocations: 5.584 MB / 0.662 GB, free: 17.17 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.01359, allocations: 70.25 kB / 0.6621 GB, free: 17.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.01541, allocations: 1.733 MB / 0.6638 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.01682, allocations: 1.228 MB / 0.665 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009723/0.01779, allocations: 0.8184 MB / 0.6658 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.01891, allocations: 2.189 MB / 0.6679 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007402/0.01965, allocations: 1.019 MB / 0.6689 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007998/0.02045, allocations: 1.219 MB / 0.6701 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.02104, allocations: 0.8179 MB / 0.6709 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.02114, allocations: 112 kB / 0.671 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009093/0.02205, allocations: 1.079 MB / 0.672 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.02229, allocations: 0.5686 MB / 0.6726 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.02256, allocations: 0.5338 MB / 0.6731 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.02391, allocations: 2.48 MB / 0.6755 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.02391, allocations: 0 / 0.6755 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/0.02392, allocations: 0 / 0.6755 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.849e-05/0.02393, allocations: 0 / 0.6755 GB, free: 3.645 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001596/0.02553, allocations: 1.828 MB / 0.6773 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.02557, allocations: 12.75 kB / 0.6773 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.02571, allocations: 219.4 kB / 0.6776 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.02778, allocations: 0.6826 MB / 0.6782 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/0.0287, allocations: 0.9167 MB / 0.6791 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.02875, allocations: 90.91 kB / 0.6792 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.02888, allocations: 136.3 kB / 0.6793 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.03111, allocations: 2.404 MB / 0.6817 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.03114, allocations: 16.06 kB / 0.6817 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/0.03122, allocations: 60.11 kB / 0.6818 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.03135, allocations: 162.3 kB / 0.6819 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.03314, allocations: 1.859 MB / 0.6837 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006471/0.03961, allocations: 9.393 MB / 0.6929 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.04194, allocations: 1.855 MB / 0.6947 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.04248, allocations: 0.5581 MB / 0.6953 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.999e-05/0.04257, allocations: 24.98 kB / 0.6953 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.04259, allocations: 43.56 kB / 0.6953 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=103): time 2.394e-06/0.04259, allocations: 0 / 0.6953 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=110): time 0.003639/0.04623, allocations: 3.126 MB / 0.6984 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.04626, allocations: 60.41 kB / 0.6984 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.04695, allocations: 0.9631 MB / 0.6994 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.04699, allocations: 41.7 kB / 0.6994 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/0.04731, allocations: 0.7455 MB / 0.7001 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.04749, allocations: 396.7 kB / 0.7005 GB, free: 9.328 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.04773, allocations: 287.4 kB / 0.7008 GB, free: 9.039 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.0478, allocations: 301.1 kB / 0.7011 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.0484, allocations: 0.6167 MB / 0.7017 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.04948, allocations: 1.106 MB / 0.7028 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.05096, allocations: 1.835 MB / 0.7045 GB, free: 4.742 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.05096, allocations: 4 kB / 0.7046 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002028/0.05299, allocations: 2.104 MB / 0.7066 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.05302, allocations: 12 kB / 0.7066 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.05303, allocations: 16 kB / 0.7066 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.05347, allocations: 259 kB / 0.7069 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.05411, allocations: 371.4 kB / 0.7072 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005306/0.05941, allocations: 10.72 MB / 0.7177 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.05996, allocations: 124.2 kB / 0.7178 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.06003, allocations: 75.98 kB / 0.7179 GB, free: 6.102 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.000422/0.06045, allocations: 415.4 kB / 0.7183 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.06056, allocations: 135.2 kB / 0.7184 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.06223, allocations: 1.685 MB / 0.7201 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.06223, allocations: 12 kB / 0.7201 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.06224, allocations: 0 / 0.7201 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.06225, allocations: 3.984 kB / 0.7201 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.06555, allocations: 3.115 MB / 0.7231 GB, free: 0.5664 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.06556, allocations: 4 kB / 0.7231 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004143/0.06597, allocations: 219.6 kB / 0.7233 GB, free: 356 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003595/0.06633, allocations: 247.2 kB / 0.7236 GB, free: 84 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.06637, allocations: 31.98 kB / 0.7236 GB, free: 52 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004716/0.07109, allocations: 10.71 MB / 0.7341 GB, free: 4.426 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.07109, allocations: 7.938 kB / 0.7341 GB, free: 4.418 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.07264, allocations: 1.788 MB / 0.7358 GB, free: 2.52 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.07294, allocations: 235 kB / 0.736 GB, free: 2.289 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.07301, allocations: 27.95 kB / 0.7361 GB, free: 2.262 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.07337, allocations: 95.97 kB / 0.7362 GB, free: 2.168 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.07347, allocations: 96.7 kB / 0.7362 GB, free: 2.074 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.07351, allocations: 39.98 kB / 0.7363 GB, free: 2.035 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007198/0.07423, allocations: 0.6177 MB / 0.7369 GB, free: 1.41 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.07423, allocations: 0 / 0.7369 GB, free: 1.41 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008153/0.07505, allocations: 395.9 kB / 0.7373 GB, free: 1.023 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.001789/0.07684, allocations: 2.379 MB / 0.7396 GB, free: 14.52 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.07878, allocations: 2.411 MB / 0.7419 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.07878, allocations: 0 / 0.7419 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.07985, allocations: 1.574 MB / 0.7435 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.081, allocations: 367 kB / 0.7438 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009848/0.09085, allocations: 11.51 MB / 0.7551 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.09135, allocations: 0.7412 MB / 0.7558 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005963/0.09195, allocations: 359.3 kB / 0.7561 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.09242, allocations: 0.5394 MB / 0.7567 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of SimCode: time 1.283e-06/0.09242, allocations: 0 / 0.7567 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0507/0.1431, allocations: 30.64 MB / 0.7866 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/7.845, allocations: 11.52 kB / 0.7866 GB, free: 14 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.638007262721658] Failed to read output from testmodel.py, exit status != 0: 7.943829673342407 7.952727323 7.926908474 Calling exit ...