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.00116/0.00116, 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.001425/0.001425, allocations: 170.3 kB / 22.45 MB, free: 2.109 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.8958/0.8958, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001504/0.001504, allocations: 237.2 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.683/0.683, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.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.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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.066e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.2343/0.2343, allocations: 4.095 MB / 0.6503 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2363, allocations: 2.296 MB / 0.6525 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2364, allocations: 25.78 kB / 0.6526 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.237, allocations: 372.2 kB / 0.6529 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.2374, allocations: 400.6 kB / 0.6533 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.2378, allocations: 317.2 kB / 0.6536 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.2382, allocations: 0.7079 MB / 0.6543 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.2385, allocations: 229.9 kB / 0.6545 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.2388, allocations: 370.4 kB / 0.6549 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.239, allocations: 234.7 kB / 0.6551 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.2391, allocations: 29.81 kB / 0.6551 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.2394, allocations: 390.4 kB / 0.6555 GB, free: 52.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.2395, allocations: 151.6 kB / 0.6556 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.2396, allocations: 156.5 kB / 0.6558 GB, free: 52.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005706/0.2402, allocations: 0.7665 MB / 0.6565 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2402, allocations: 0 / 0.6565 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2402, allocations: 0 / 0.6565 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2402, allocations: 0 / 0.6565 GB, free: 52.45 MB / 0.5573 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.0006625/0.2409, allocations: 0.716 MB / 0.6572 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2409, allocations: 10.94 kB / 0.6572 GB, free: 51.92 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.241, allocations: 80.45 kB / 0.6573 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006688/0.2416, allocations: 190.7 kB / 0.6575 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.242, allocations: 374.7 kB / 0.6578 GB, free: 51.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2421, allocations: 34.86 kB / 0.6579 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.2421, allocations: 30.36 kB / 0.6579 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.2427, allocations: 0.7281 MB / 0.6586 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2427, allocations: 6.047 kB / 0.6586 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.2427, allocations: 30.2 kB / 0.6587 GB, free: 51 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.275e-05/0.2428, allocations: 51.5 kB / 0.6587 GB, free: 51 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004709/0.2433, allocations: 493.3 kB / 0.6592 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.2447, allocations: 3.197 MB / 0.6623 GB, free: 48.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000899/0.2456, allocations: 0.5999 MB / 0.6629 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.2457, allocations: 163.7 kB / 0.663 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2458, allocations: 9.766 kB / 0.6631 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.2458, allocations: 34.19 kB / 0.6631 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.2458, allocations: 3.219 kB / 0.6631 GB, free: 47.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=33): time 0.001245/0.247, allocations: 1.062 MB / 0.6641 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.2471, allocations: 107 kB / 0.6642 GB, free: 47.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.2473, allocations: 411.2 kB / 0.6646 GB, free: 47 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2473, allocations: 29.7 kB / 0.6646 GB, free: 46.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2475, allocations: 298.5 kB / 0.6649 GB, free: 46.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.2475, allocations: 123.2 kB / 0.665 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.34e-05/0.2476, allocations: 95.31 kB / 0.6651 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.2476, allocations: 358.9 kB / 0.6655 GB, free: 46.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.2478, allocations: 174.8 kB / 0.6656 GB, free: 46.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.248, allocations: 378.3 kB / 0.666 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.2485, allocations: 0.5913 MB / 0.6666 GB, free: 45.44 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2485, allocations: 1.938 kB / 0.6666 GB, free: 45.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000641/0.2491, allocations: 0.6748 MB / 0.6672 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2491, allocations: 9.234 kB / 0.6673 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.2491, allocations: 5.344 kB / 0.6673 GB, free: 45.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.2493, allocations: 101.1 kB / 0.6674 GB, free: 45.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.2495, allocations: 116.2 kB / 0.6675 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.251, allocations: 4.028 MB / 0.6714 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.2512, allocations: 29.23 kB / 0.6714 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.2512, allocations: 25.78 kB / 0.6715 GB, free: 41.2 MB / 0.5573 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.0001231/0.2513, allocations: 198 kB / 0.6716 GB, free: 41.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.2514, allocations: 52.09 kB / 0.6717 GB, free: 41.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.2518, allocations: 0.5147 MB / 0.6722 GB, free: 40.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2519, allocations: 10.19 kB / 0.6722 GB, free: 40.78 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2519, allocations: 0 / 0.6722 GB, free: 40.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2519, allocations: 6.047 kB / 0.6722 GB, free: 40.78 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.2528, allocations: 1.205 MB / 0.6734 GB, free: 40.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2528, allocations: 7.812 kB / 0.6734 GB, free: 40.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.2529, allocations: 64.7 kB / 0.6735 GB, free: 40 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.2531, allocations: 89.81 kB / 0.6735 GB, free: 39.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2531, allocations: 9.844 kB / 0.6736 GB, free: 39.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.2542, allocations: 4.015 MB / 0.6775 GB, free: 36.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.2542, allocations: 6.375 kB / 0.6775 GB, free: 36.08 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004683/0.2547, allocations: 0.7807 MB / 0.6782 GB, free: 35.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.2548, allocations: 78.84 kB / 0.6783 GB, free: 35.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.2548, allocations: 14.3 kB / 0.6783 GB, free: 35.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.255, allocations: 21.36 kB / 0.6784 GB, free: 35.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.255, allocations: 37.88 kB / 0.6784 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.255, allocations: 13.66 kB / 0.6784 GB, free: 35.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001612/0.2552, allocations: 278.4 kB / 0.6787 GB, free: 35.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2552, allocations: 1.969 kB / 0.6787 GB, free: 35.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003719/0.2556, allocations: 125.8 kB / 0.6788 GB, free: 35.32 MB / 0.5573 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.0005015/0.2561, allocations: 1.315 MB / 0.6801 GB, free: 34.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005589/0.2566, allocations: 0.7808 MB / 0.6808 GB, free: 33.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2566, allocations: 3.938 kB / 0.6808 GB, free: 33.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.2569, allocations: 0.543 MB / 0.6814 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.2574, allocations: 142.4 kB / 0.6815 GB, free: 33.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.2603, allocations: 4.528 MB / 0.6859 GB, free: 30.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2605, allocations: 259.6 kB / 0.6862 GB, free: 30.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.2607, allocations: 104.6 kB / 0.6863 GB, free: 30.22 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.2608, allocations: 157.8 kB / 0.6864 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.2608, allocations: 0 / 0.6864 GB, free: 30.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.2879, allocations: 11.24 MB / 0.6974 GB, free: 28.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.29, allocations: 16.84 kB / 0.6974 GB, free: 28.2 MB / 0.5573 GB " [Timeout remaining time 653] (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: 9.911889045499265] Failed to read output from testmodel.py, exit status != 0: 7.37778100091964 7.386798012 7.144710985 Calling exit ...