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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002392/0.002392, allocations: 285.5 kB / 303 MB, free: 9.484 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.103/1.103, allocations: 180.9 MB / 0.5261 GB, free: 14.57 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002595/0.002595, allocations: 105.5 kB / 0.7248 GB, free: 39.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1391, allocations: 94.16 MB / 0.8167 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01323/0.1523, allocations: 11.26 MB / 0.8277 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009022/0.1613, allocations: 5.851 MB / 0.8334 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000744/0.1621, allocations: 51.69 kB / 0.8335 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003976/0.166, allocations: 1.747 MB / 0.8352 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.1687, allocations: 1.178 MB / 0.8363 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.1705, allocations: 0.8122 MB / 0.8371 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002296/0.1728, allocations: 2.119 MB / 0.8392 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.174, allocations: 1.057 MB / 0.8402 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009406/0.175, allocations: 0.8484 MB / 0.8411 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.176, allocations: 0.961 MB / 0.842 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.1762, allocations: 116 kB / 0.8421 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.178, allocations: 1.212 MB / 0.8433 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.1785, allocations: 0.5334 MB / 0.8438 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.1792, allocations: 0.7888 MB / 0.8446 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.1818, allocations: 2.436 MB / 0.847 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1818, allocations: 4 kB / 0.847 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1818, allocations: 0 / 0.847 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.1818, allocations: 3.938 kB / 0.847 GB, free: 6.301 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002665/0.1845, allocations: 1.916 MB / 0.8488 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1845, allocations: 8.031 kB / 0.8489 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002156/0.1847, allocations: 211.4 kB / 0.8491 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.1887, allocations: 0.6825 MB / 0.8497 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/0.1904, allocations: 1.013 MB / 0.8507 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.421e-05/0.1905, allocations: 98.89 kB / 0.8508 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.1907, allocations: 124.3 kB / 0.8509 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.1936, allocations: 2.21 MB / 0.8531 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/0.1936, allocations: 15.83 kB / 0.8531 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.1937, allocations: 63.97 kB / 0.8532 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.1939, allocations: 166.3 kB / 0.8533 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.1966, allocations: 1.863 MB / 0.8551 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.2081, allocations: 12.45 MB / 0.8673 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.2121, allocations: 1.878 MB / 0.8691 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007752/0.2128, allocations: 0.5581 MB / 0.8697 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.213, allocations: 102 kB / 0.8698 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.213, allocations: 51.5 kB / 0.8698 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 2.314e-06/0.213, allocations: 0 / 0.8698 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.005719/0.2188, allocations: 3.724 MB / 0.8735 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.2188, allocations: 64.41 kB / 0.8735 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.2198, allocations: 0.9205 MB / 0.8744 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.2199, allocations: 45.7 kB / 0.8745 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.2204, allocations: 0.7455 MB / 0.8752 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.2207, allocations: 408.6 kB / 0.8756 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003753/0.2211, allocations: 287.4 kB / 0.8759 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2212, allocations: 305.1 kB / 0.8761 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008811/0.2221, allocations: 0.6129 MB / 0.8767 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.2233, allocations: 1.109 MB / 0.8778 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.2255, allocations: 1.835 MB / 0.8796 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.2255, allocations: 7.938 kB / 0.8796 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003185/0.2287, allocations: 2.096 MB / 0.8817 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2287, allocations: 12 kB / 0.8817 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.2288, allocations: 16 kB / 0.8817 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.2295, allocations: 259.4 kB / 0.8819 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.2306, allocations: 375.4 kB / 0.8823 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008834/0.2395, allocations: 11.59 MB / 0.8936 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.2406, allocations: 131.8 kB / 0.8937 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-05/0.2407, allocations: 68 kB / 0.8938 GB, free: 3.16 MB / 0.6387 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.000601/0.2413, allocations: 409.3 kB / 0.8942 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.2415, allocations: 135.2 kB / 0.8943 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.2442, allocations: 1.665 MB / 0.896 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.2442, allocations: 12 kB / 0.896 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2442, allocations: 0 / 0.896 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.2442, allocations: 11.97 kB / 0.896 GB, free: 0.8984 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/0.2491, allocations: 3.303 MB / 0.8992 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.2491, allocations: 4 kB / 0.8992 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.2499, allocations: 219.6 kB / 0.8994 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006415/0.2505, allocations: 247 kB / 0.8997 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.2506, allocations: 27.94 kB / 0.8997 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008665/0.2593, allocations: 11.57 MB / 0.911 GB, free: 252 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.2593, allocations: 11.94 kB / 0.911 GB, free: 240 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.2619, allocations: 1.8 MB / 0.9127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.2625, allocations: 312.1 kB / 0.913 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.2627, allocations: 31.92 kB / 0.9131 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.2633, allocations: 91.88 kB / 0.9132 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.2635, allocations: 104.6 kB / 0.9133 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.2635, allocations: 32 kB / 0.9133 GB, free: 13.75 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007309/0.2643, allocations: 0.6216 MB / 0.9139 GB, free: 13.12 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2643, allocations: 0 / 0.9139 GB, free: 13.12 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001213/0.2655, allocations: 392 kB / 0.9143 GB, free: 12.73 MB / 0.67 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.002802/0.2683, allocations: 2.397 MB / 0.9166 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003366/0.2717, allocations: 2.395 MB / 0.919 GB, free: 7.727 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2717, allocations: 0 / 0.919 GB, free: 7.727 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.2737, allocations: 1.591 MB / 0.9205 GB, free: 6.039 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.2752, allocations: 360.9 kB / 0.9208 GB, free: 5.691 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.29, allocations: 11.52 MB / 0.9321 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009719/0.291, allocations: 1.335 MB / 0.9334 GB, free: 8.047 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009028/0.2919, allocations: 355.3 kB / 0.9337 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/0.2926, allocations: 0.5415 MB / 0.9343 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of SimCode: time 6.42e-07/0.2926, allocations: 0 / 0.9343 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07793/0.3705, allocations: 28.57 MB / 0.9622 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 8.984 kB / 0.9622 GB, free: 10.98 MB / 0.7169 GB " [Timeout remaining time 648] (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: 15.243286363314837] Failed to read output from testmodel.py, exit status != 0: 11.560882349032909 11.573827136 11.389413184 Calling exit ...