Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001519/0.001519, 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.001936/0.001936, allocations: 212.4 kB / 22.24 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.781 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.002547/0.002547, allocations: 295.3 kB / 312.7 MB, free: 2.578 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.237/1.237, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002946/0.002946, allocations: 103.8 kB / 0.7395 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1718, allocations: 95.39 MB / 0.8326 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01926/0.1911, allocations: 13.28 MB / 0.8456 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.2062, allocations: 9.144 MB / 0.8545 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.2075, allocations: 75.31 kB / 0.8546 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004574/0.2121, allocations: 1.677 MB / 0.8563 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004752/0.2169, allocations: 1.59 MB / 0.8578 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.2189, allocations: 0.7523 MB / 0.8585 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003716/0.2226, allocations: 2.53 MB / 0.861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.2248, allocations: 1.184 MB / 0.8622 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.2266, allocations: 1.125 MB / 0.8633 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.2284, allocations: 1.101 MB / 0.8643 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.2287, allocations: 168 kB / 0.8645 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.2301, allocations: 0.7252 MB / 0.8652 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.2308, allocations: 0.627 MB / 0.8658 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000964/0.2317, allocations: 0.7776 MB / 0.8666 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003674/0.2354, allocations: 2.775 MB / 0.8693 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2354, allocations: 0 / 0.8693 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2354, allocations: 0 / 0.8693 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.652e-05/0.2355, allocations: 0 / 0.8693 GB, free: 2.668 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00425/0.2397, allocations: 2.12 MB / 0.8714 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.2398, allocations: 17.34 kB / 0.8714 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002648/0.24, allocations: 190.4 kB / 0.8716 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.2516, allocations: 2.094 MB / 0.8736 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.255, allocations: 1.216 MB / 0.8748 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.2551, allocations: 90.73 kB / 0.8749 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.2554, allocations: 119.9 kB / 0.875 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006385/0.2618, allocations: 3.085 MB / 0.878 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.2618, allocations: 7.938 kB / 0.878 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.262, allocations: 59.92 kB / 0.8781 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006851/0.2627, allocations: 182.1 kB / 0.8782 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008102/0.2708, allocations: 2.795 MB / 0.881 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.2863, allocations: 8.345 MB / 0.8891 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006993/0.2933, allocations: 2.213 MB / 0.8913 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003233/0.2965, allocations: 1.216 MB / 0.8925 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.2966, allocations: 13 kB / 0.8925 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.2966, allocations: 43.56 kB / 0.8925 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.524e-06/0.2966, allocations: 0 / 0.8925 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04853/0.3451, allocations: 12.66 MB / 0.9049 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3452, allocations: 68.66 kB / 0.905 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.347, allocations: 1.136 MB / 0.9061 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.3471, allocations: 45.7 kB / 0.9061 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000643/0.3478, allocations: 0.7365 MB / 0.9068 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005681/0.3483, allocations: 475.9 kB / 0.9073 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005693/0.3489, allocations: 255.5 kB / 0.9075 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3491, allocations: 361.9 kB / 0.9079 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/0.3527, allocations: 1.339 MB / 0.9092 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003772/0.3564, allocations: 1.604 MB / 0.9107 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/0.3638, allocations: 2.998 MB / 0.9137 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.3638, allocations: 0 / 0.9137 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01278/0.3766, allocations: 4.404 MB / 0.918 GB, free: 15.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.3766, allocations: 8 kB / 0.918 GB, free: 15.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.3766, allocations: 8 kB / 0.918 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005788/0.3824, allocations: 1.423 MB / 0.9194 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.3846, allocations: 439.2 kB / 0.9198 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03256/0.4172, allocations: 25.1 MB / 0.9443 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002579/0.4198, allocations: 311.6 kB / 0.9446 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/0.4201, allocations: 63.97 kB / 0.9447 GB, free: 3.035 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001034/0.4211, allocations: 436.6 kB / 0.9451 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.4216, allocations: 174.9 kB / 0.9453 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.4343, allocations: 4.398 MB / 0.9496 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.4343, allocations: 19.94 kB / 0.9496 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.275e-05/0.4344, allocations: 16 kB / 0.9496 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.4344, allocations: 7.969 kB / 0.9496 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.4511, allocations: 6.296 MB / 0.9557 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-05/0.4511, allocations: 8 kB / 0.9558 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.453, allocations: 383.3 kB / 0.9561 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004942/0.458, allocations: 1.307 MB / 0.9574 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/0.4581, allocations: 39.97 kB / 0.9574 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02836/0.4865, allocations: 23.96 MB / 0.9808 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.4865, allocations: 8.062 kB / 0.9808 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.498, allocations: 4.16 MB / 0.9849 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.4993, allocations: 394.7 kB / 0.9853 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003876/0.4997, allocations: 24 kB / 0.9853 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/0.5019, allocations: 307.7 kB / 0.9856 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/0.5023, allocations: 132.6 kB / 0.9857 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.5025, allocations: 51.95 kB / 0.9858 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001205/0.5037, allocations: 0.7608 MB / 0.9865 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5037, allocations: 0 / 0.9865 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002042/0.5057, allocations: 0.5703 MB / 0.9871 GB, free: 5.789 MB / 0.7325 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01192/0.5176, allocations: 4.751 MB / 0.9917 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3396/0.8573, allocations: 4.958 MB / 0.9965 GB, free: 149 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.8573, allocations: 1 kB / 0.9965 GB, free: 149 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006397/0.8637, allocations: 3.427 MB / 0.9999 GB, free: 147.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.8659, allocations: 0.5517 MB / 1 GB, free: 147.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0401/0.906, allocations: 19.34 MB / 1.019 GB, free: 141.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008149/0.9068, allocations: 0.8844 MB / 1.02 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001429/0.9082, allocations: 432.8 kB / 1.021 GB, free: 140.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/0.9089, allocations: 0.6275 MB / 1.021 GB, free: 140.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.9089, allocations: 0 / 1.021 GB, free: 140.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1511/1.06, allocations: 56.45 MB / 1.076 GB, free: 87.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.66, allocations: 4 kB / 1.076 GB, free: 87.56 MB / 0.7325 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.006601681932807] Failed to read output from testmodel.py, exit status != 0: 14.806746066082269 14.824611 14.585485353 Calling exit ...