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.001793/0.001793, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.002079/0.002079, allocations: 215 kB / 20.13 MB, free: 2.949 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.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002439/0.002439, allocations: 285.1 kB / 309.8 MB, free: 3.535 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.106/1.106, allocations: 180.6 MB / 0.5337 GB, free: 12.83 MB / 398.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_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.002902/0.002902, allocations: 103.8 kB / 0.7347 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.518, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01338/0.5314, allocations: 11.28 MB / 0.8388 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.542, allocations: 5.871 MB / 0.8445 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.5433, allocations: 74.19 kB / 0.8446 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005425/0.5488, allocations: 1.755 MB / 0.8463 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003851/0.5526, allocations: 1.181 MB / 0.8475 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.5553, allocations: 0.8062 MB / 0.8483 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004027/0.5594, allocations: 2.123 MB / 0.8503 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.5614, allocations: 1.045 MB / 0.8514 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.5638, allocations: 0.8791 MB / 0.8522 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.566, allocations: 0.9628 MB / 0.8532 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004369/0.5665, allocations: 114.5 kB / 0.8533 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.5699, allocations: 1.207 MB / 0.8544 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.5709, allocations: 0.538 MB / 0.855 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.573, allocations: 0.7906 MB / 0.8557 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005362/0.5784, allocations: 2.432 MB / 0.8581 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5784, allocations: 0 / 0.8581 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5784, allocations: 1.281 kB / 0.8581 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000103/0.5785, allocations: 7.984 kB / 0.8581 GB, free: 0.6406 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.005602/0.5841, allocations: 1.919 MB / 0.86 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5841, allocations: 8.906 kB / 0.86 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.94e-05/0.5842, allocations: 35.7 kB / 0.86 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005378/0.5847, allocations: 212.1 kB / 0.8602 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/0.59, allocations: 0.673 MB / 0.8609 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.5926, allocations: 1.017 MB / 0.8619 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.5927, allocations: 92.8 kB / 0.862 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/0.593, allocations: 139 kB / 0.8621 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003492/0.5965, allocations: 2.208 MB / 0.8643 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.5966, allocations: 9.438 kB / 0.8643 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.5967, allocations: 61.84 kB / 0.8643 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002109/0.5969, allocations: 165.8 kB / 0.8645 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.6, allocations: 1.865 MB / 0.8663 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.6138, allocations: 12.45 MB / 0.8785 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.6183, allocations: 1.872 MB / 0.8803 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008685/0.6192, allocations: 0.5609 MB / 0.8809 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.6194, allocations: 101.9 kB / 0.8809 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.6194, allocations: 51.27 kB / 0.881 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 2.845e-06/0.6194, allocations: 0 / 0.881 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.00722/0.6266, allocations: 3.723 MB / 0.8846 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.6267, allocations: 63.62 kB / 0.8847 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.628, allocations: 0.9216 MB / 0.8856 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.628, allocations: 45.58 kB / 0.8856 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005942/0.6286, allocations: 0.7518 MB / 0.8864 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003785/0.629, allocations: 410.9 kB / 0.8868 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.6295, allocations: 285.3 kB / 0.887 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6296, allocations: 302.3 kB / 0.8873 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009572/0.6306, allocations: 0.6133 MB / 0.8879 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.632, allocations: 1.103 MB / 0.889 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.6344, allocations: 1.829 MB / 0.8908 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.6345, allocations: 8.438 kB / 0.8908 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003727/0.6382, allocations: 2.107 MB / 0.8929 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.6382, allocations: 12 kB / 0.8929 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.6382, allocations: 16 kB / 0.8929 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000886/0.6391, allocations: 259.1 kB / 0.8931 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.6405, allocations: 375.4 kB / 0.8935 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.6507, allocations: 11.59 MB / 0.9048 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.6522, allocations: 127.7 kB / 0.9049 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.6523, allocations: 71.98 kB / 0.905 GB, free: 7.84 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.0008007/0.6531, allocations: 408.8 kB / 0.9054 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.6534, allocations: 135.2 kB / 0.9055 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.6565, allocations: 1.673 MB / 0.9071 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6565, allocations: 15.98 kB / 0.9072 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.6565, allocations: 8 kB / 0.9072 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.6565, allocations: 7.969 kB / 0.9072 GB, free: 5.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/0.662, allocations: 3.284 MB / 0.9104 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.662, allocations: 8.031 kB / 0.9104 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/0.663, allocations: 223.6 kB / 0.9106 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007764/0.6637, allocations: 246.5 kB / 0.9108 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.6638, allocations: 31.94 kB / 0.9109 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.674, allocations: 11.56 MB / 0.9222 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.6741, allocations: 8 kB / 0.9222 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.6774, allocations: 1.808 MB / 0.9239 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/0.6781, allocations: 312.1 kB / 0.9242 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.6782, allocations: 28 kB / 0.9243 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.679, allocations: 87.86 kB / 0.9243 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/0.6792, allocations: 108.6 kB / 0.9244 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/0.6793, allocations: 32 kB / 0.9245 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00104/0.6803, allocations: 0.6177 MB / 0.9251 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6803, allocations: 0 / 0.9251 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00177/0.6821, allocations: 391.9 kB / 0.9255 GB, free: 1.426 MB / 0.6544 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.003266/0.6854, allocations: 2.391 MB / 0.9278 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003877/0.6892, allocations: 2.406 MB / 0.9301 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6893, allocations: 0 / 0.9301 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.6916, allocations: 1.587 MB / 0.9317 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.6934, allocations: 367.2 kB / 0.932 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/0.711, allocations: 11.53 MB / 0.9433 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.7122, allocations: 1.327 MB / 0.9446 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001016/0.7132, allocations: 359.3 kB / 0.9449 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007674/0.714, allocations: 0.5344 MB / 0.9455 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of SimCode: time 1.022e-06/0.714, allocations: 0 / 0.9455 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/0.7986, allocations: 28.66 MB / 0.9734 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.24, allocations: 12.12 kB / 0.9735 GB, free: 15.63 MB / 0.7169 GB " [Timeout remaining time 647] (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: 17.439044120023027] Failed to read output from testmodel.py, exit status != 0: 13.407612218987197 13.430734447 12.847645333 Calling exit ...