Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001821/0.001821, allocations: 105 kB / 20.48 MB, free: 1.488 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.002074/0.002074, allocations: 215.7 kB / 23.79 MB, free: 4.703 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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.025/1.025, allocations: 150 MB / 464 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002098/0.002098, allocations: 62.02 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2206, allocations: 89.17 MB / 0.7291 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02036/0.241, allocations: 14.57 MB / 0.7433 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01693/0.2579, allocations: 9.793 MB / 0.7529 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.2599, allocations: 79.25 kB / 0.753 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005295/0.2652, allocations: 1.753 MB / 0.7547 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005928/0.2711, allocations: 1.587 MB / 0.7562 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.2741, allocations: 0.7622 MB / 0.757 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005599/0.2797, allocations: 2.528 MB / 0.7595 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003609/0.2833, allocations: 1.192 MB / 0.7606 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4666/0.7499, allocations: 1.084 MB / 0.7617 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/0.7526, allocations: 1.204 MB / 0.7629 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004955/0.7531, allocations: 163.1 kB / 0.763 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.755, allocations: 0.8088 MB / 0.7638 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006426/0.7556, allocations: 0.6352 MB / 0.7644 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.7568, allocations: 0.9441 MB / 0.7653 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.7615, allocations: 2.769 MB / 0.7681 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7615, allocations: 0 / 0.7681 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7615, allocations: 0 / 0.7681 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.141e-05/0.7616, allocations: 0 / 0.7681 GB, free: 10.91 MB / 0.5762 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.005094/0.7667, allocations: 2.12 MB / 0.7701 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.7667, allocations: 12.91 kB / 0.7701 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.548e-05/0.7668, allocations: 38.16 kB / 0.7702 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002926/0.7671, allocations: 192.8 kB / 0.7704 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.7799, allocations: 2.094 MB / 0.7724 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/0.7843, allocations: 1.222 MB / 0.7736 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.7844, allocations: 87.39 kB / 0.7737 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000445/0.7848, allocations: 119.8 kB / 0.7738 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007146/0.792, allocations: 2.679 MB / 0.7764 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.152e-05/0.792, allocations: 13.53 kB / 0.7764 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.7922, allocations: 53.16 kB / 0.7765 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007386/0.793, allocations: 186 kB / 0.7766 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009304/0.8023, allocations: 2.793 MB / 0.7794 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0209/0.8232, allocations: 10.35 MB / 0.7895 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007629/0.8308, allocations: 2.228 MB / 0.7917 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003542/0.8344, allocations: 1.21 MB / 0.7928 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.8345, allocations: 10.03 kB / 0.7929 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.8345, allocations: 44.25 kB / 0.7929 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 4.738e-06/0.8345, allocations: 1.125 kB / 0.7929 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.05012/0.8846, allocations: 12.66 MB / 0.8053 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.8847, allocations: 66.88 kB / 0.8053 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/0.8871, allocations: 1.119 MB / 0.8064 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003604/0.8875, allocations: 47.39 kB / 0.8065 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006544/0.8881, allocations: 0.7273 MB / 0.8072 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008675/0.889, allocations: 482.7 kB / 0.8076 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009413/0.8899, allocations: 259 kB / 0.8079 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002238/0.8902, allocations: 359.7 kB / 0.8082 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/0.8938, allocations: 1.346 MB / 0.8095 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/0.898, allocations: 1.6 MB / 0.8111 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008225/0.9062, allocations: 2.995 MB / 0.814 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.9062, allocations: 2.75 kB / 0.814 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01403/0.9202, allocations: 4.4 MB / 0.8183 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.9203, allocations: 11.72 kB / 0.8183 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.9203, allocations: 8.875 kB / 0.8183 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005845/0.9261, allocations: 1.44 MB / 0.8198 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00239/0.9285, allocations: 433.6 kB / 0.8202 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03072/0.9592, allocations: 25.36 MB / 0.8449 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/0.9625, allocations: 303.5 kB / 0.8452 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004875/0.9629, allocations: 67.62 kB / 0.8453 GB, free: 9.75 MB / 0.6231 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.001634/0.9646, allocations: 435.5 kB / 0.8457 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007326/0.9653, allocations: 171 kB / 0.8459 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.9786, allocations: 4.404 MB / 0.8502 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.9787, allocations: 15.94 kB / 0.8502 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.067e-05/0.9787, allocations: 15.98 kB / 0.8502 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.853e-05/0.9787, allocations: 3.984 kB / 0.8502 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.001, allocations: 6.711 MB / 0.8568 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/1.001, allocations: 4 kB / 0.8568 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/1.004, allocations: 381.3 kB / 0.8571 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008098/1.012, allocations: 1.31 MB / 0.8584 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004379/1.013, allocations: 35.97 kB / 0.8584 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04924/1.062, allocations: 24.18 MB / 0.882 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/1.062, allocations: 6.625 kB / 0.8821 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/1.078, allocations: 4.167 MB / 0.8861 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001668/1.08, allocations: 386.7 kB / 0.8865 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006222/1.08, allocations: 24 kB / 0.8865 GB, free: 14.06 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/1.083, allocations: 303.5 kB / 0.8868 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/1.084, allocations: 136.5 kB / 0.8869 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.084, allocations: 47.97 kB / 0.887 GB, free: 13.59 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001282/1.085, allocations: 0.7526 MB / 0.8877 GB, free: 12.84 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/1.085, allocations: 4 kB / 0.8877 GB, free: 12.83 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003093/1.088, allocations: 0.5703 MB / 0.8883 GB, free: 12.26 MB / 0.67 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.01281/1.101, allocations: 4.749 MB / 0.8929 GB, free: 7.465 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.114, allocations: 4.975 MB / 0.8978 GB, free: 2.367 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.114, allocations: 0 / 0.8978 GB, free: 2.367 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007867/1.121, allocations: 3.42 MB / 0.9011 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/1.125, allocations: 0.5436 MB / 0.9016 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05203/1.177, allocations: 19.35 MB / 0.9205 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/1.179, allocations: 1.481 MB / 0.922 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001797/1.181, allocations: 417.6 kB / 0.9224 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.182, allocations: 0.6281 MB / 0.923 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of SimCode: time 9.32e-07/1.182, allocations: 0 / 0.923 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/1.339, allocations: 53.34 MB / 0.9751 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.82/22.16, allocations: 25.34 kB / 0.9751 GB, free: 3.48 MB / 0.7481 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.50692184199579] Failed to read output from testmodel.py, exit status != 0: 22.363089266989846 22.383036176 21.617866054 Calling exit ...