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.001995/0.001995, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002607/0.002607, allocations: 212.8 kB / 22.25 MB, free: 4.855 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.816 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.002657/0.002657, allocations: 290.2 kB / 312.7 MB, free: 2.734 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.242/1.242, allocations: 180.6 MB / 0.5369 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 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: 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.002936/0.002936, allocations: 104.5 kB / 0.7395 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1714, allocations: 95.38 MB / 0.8327 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01483/0.1862, allocations: 10.7 MB / 0.8431 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1962, allocations: 5.634 MB / 0.8486 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.1974, allocations: 75.31 kB / 0.8487 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004632/0.202, allocations: 1.728 MB / 0.8504 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002997/0.205, allocations: 1.186 MB / 0.8515 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.2074, allocations: 0.8114 MB / 0.8523 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003742/0.2111, allocations: 2.127 MB / 0.8544 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.213, allocations: 1.03 MB / 0.8554 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.2146, allocations: 0.8796 MB / 0.8563 GB, free: 88 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.2164, allocations: 0.9064 MB / 0.8571 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.2168, allocations: 112 kB / 0.8572 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.2191, allocations: 1.06 MB / 0.8583 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007139/0.2198, allocations: 0.5413 MB / 0.8588 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.2208, allocations: 0.6491 MB / 0.8594 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003775/0.2246, allocations: 2.448 MB / 0.8618 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2246, allocations: 4 kB / 0.8618 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2246, allocations: 0 / 0.8618 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.149e-05/0.2247, allocations: 4 kB / 0.8618 GB, free: 10.34 MB / 0.6075 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.003441/0.2281, allocations: 1.84 MB / 0.8636 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2282, allocations: 13.34 kB / 0.8636 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002889/0.2284, allocations: 215.4 kB / 0.8639 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004561/0.233, allocations: 0.6748 MB / 0.8645 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002169/0.2352, allocations: 0.9213 MB / 0.8654 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2353, allocations: 94.89 kB / 0.8655 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002719/0.2355, allocations: 128.3 kB / 0.8656 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/0.2394, allocations: 2.411 MB / 0.868 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.432e-05/0.2395, allocations: 15.88 kB / 0.868 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.2397, allocations: 59.97 kB / 0.8681 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002461/0.2399, allocations: 166.3 kB / 0.8682 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/0.2432, allocations: 1.851 MB / 0.87 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.2559, allocations: 9.413 MB / 0.8792 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004587/0.2605, allocations: 1.859 MB / 0.881 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009118/0.2614, allocations: 0.5581 MB / 0.8816 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.2615, allocations: 24.98 kB / 0.8816 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.2616, allocations: 47.5 kB / 0.8816 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=103): time 3.657e-06/0.2616, allocations: 0 / 0.8816 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=110): time 0.006402/0.268, allocations: 3.126 MB / 0.8847 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.268, allocations: 64.41 kB / 0.8848 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.2694, allocations: 0.9592 MB / 0.8857 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.2695, allocations: 41.7 kB / 0.8857 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006342/0.2701, allocations: 0.7494 MB / 0.8865 GB, free: 388 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.2705, allocations: 404.7 kB / 0.8868 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/0.2709, allocations: 291.4 kB / 0.8871 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2711, allocations: 301.1 kB / 0.8874 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.2721, allocations: 0.609 MB / 0.888 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.2736, allocations: 1.109 MB / 0.8891 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/0.2762, allocations: 1.828 MB / 0.8909 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.2762, allocations: 8 kB / 0.8909 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003667/0.2799, allocations: 2.112 MB / 0.8929 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.2799, allocations: 12 kB / 0.893 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.2799, allocations: 16 kB / 0.893 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/0.2808, allocations: 263.2 kB / 0.8932 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.2821, allocations: 371.4 kB / 0.8936 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009948/0.292, allocations: 10.74 MB / 0.9041 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.2934, allocations: 127.8 kB / 0.9042 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.2936, allocations: 71.98 kB / 0.9043 GB, free: 12.73 MB / 0.6544 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.0008476/0.2945, allocations: 406 kB / 0.9046 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.2948, allocations: 135.2 kB / 0.9048 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/0.2979, allocations: 1.677 MB / 0.9064 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.2979, allocations: 12 kB / 0.9064 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.2979, allocations: 4 kB / 0.9064 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.298, allocations: 3.984 kB / 0.9064 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006047/0.304, allocations: 3.111 MB / 0.9095 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.304, allocations: 8 kB / 0.9095 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.3049, allocations: 220.3 kB / 0.9097 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007548/0.3057, allocations: 246.6 kB / 0.9099 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.964e-05/0.3058, allocations: 31.94 kB / 0.91 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009828/0.3156, allocations: 10.71 MB / 0.9204 GB, free: 11.06 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/0.3156, allocations: 11.94 kB / 0.9204 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.3192, allocations: 1.8 MB / 0.9222 GB, free: 9.145 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008843/0.3201, allocations: 231 kB / 0.9224 GB, free: 8.918 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/0.3204, allocations: 31.92 kB / 0.9224 GB, free: 8.887 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009415/0.3214, allocations: 91.88 kB / 0.9225 GB, free: 8.797 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.3216, allocations: 104.6 kB / 0.9226 GB, free: 8.691 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/0.3217, allocations: 36 kB / 0.9227 GB, free: 8.656 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009812/0.3227, allocations: 0.6216 MB / 0.9233 GB, free: 8.027 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.3227, allocations: 0 / 0.9233 GB, free: 8.027 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001671/0.3243, allocations: 396 kB / 0.9236 GB, free: 7.641 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.003467/0.3278, allocations: 2.387 MB / 0.926 GB, free: 5.141 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003951/0.3317, allocations: 2.41 MB / 0.9283 GB, free: 2.629 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3317, allocations: 4 kB / 0.9283 GB, free: 2.625 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.3341, allocations: 1.583 MB / 0.9299 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.3358, allocations: 366.1 kB / 0.9302 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.3536, allocations: 11.53 MB / 0.9415 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009022/0.3545, allocations: 0.7335 MB / 0.9422 GB, free: 3.543 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001012/0.3555, allocations: 363.2 kB / 0.9426 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007662/0.3563, allocations: 0.5383 MB / 0.9431 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.3563, allocations: 0 / 0.9431 GB, free: 2.645 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08818/0.4444, allocations: 30.53 MB / 0.9729 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.94, allocations: 7.062 kB / 0.9729 GB, free: 4.688 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.285338586196303] Failed to read output from testmodel.py, exit status != 0: 13.078516040928662 13.102834147 12.873720965 Calling exit ...