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.001304/0.001304, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001545/0.001545, allocations: 212.7 kB / 23.78 MB, free: 4.555 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.576/1.576, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.028/1.028, allocations: 150 MB / 463.9 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 178] 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.002059/0.002059, allocations: 60.41 kB / 0.642 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2126, allocations: 89.18 MB / 0.729 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01873/0.2314, allocations: 13.26 MB / 0.742 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0162/0.2476, allocations: 9.12 MB / 0.7509 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.2493, allocations: 79.25 kB / 0.751 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004593/0.2539, allocations: 1.678 MB / 0.7526 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005178/0.259, allocations: 1.571 MB / 0.7541 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.2612, allocations: 0.7718 MB / 0.7549 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004/0.2652, allocations: 2.524 MB / 0.7574 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.2671, allocations: 1.184 MB / 0.7585 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.269, allocations: 1.098 MB / 0.7596 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.2709, allocations: 1.199 MB / 0.7608 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.2712, allocations: 168 kB / 0.7609 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5157/0.7868, allocations: 0.7316 MB / 0.7616 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009749/0.7878, allocations: 0.6378 MB / 0.7623 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.7891, allocations: 0.7755 MB / 0.763 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004907/0.794, allocations: 2.79 MB / 0.7657 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.794, allocations: 0.6562 kB / 0.7657 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7941, allocations: 0 / 0.7657 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.971e-05/0.7941, allocations: 0.875 kB / 0.7657 GB, free: 12.36 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.004925/0.7991, allocations: 2.112 MB / 0.7678 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.7991, allocations: 11.28 kB / 0.7678 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.6e-05/0.7992, allocations: 36.31 kB / 0.7679 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002652/0.7994, allocations: 199.5 kB / 0.768 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.811, allocations: 2.092 MB / 0.7701 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.8146, allocations: 1.219 MB / 0.7713 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.98e-05/0.8147, allocations: 89.05 kB / 0.7714 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003441/0.815, allocations: 124 kB / 0.7715 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006883/0.8219, allocations: 3.088 MB / 0.7745 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.822, allocations: 8.094 kB / 0.7745 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.8222, allocations: 59.45 kB / 0.7746 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006633/0.8228, allocations: 179.9 kB / 0.7747 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008169/0.831, allocations: 2.798 MB / 0.7775 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.8488, allocations: 8.319 MB / 0.7856 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006445/0.8552, allocations: 2.223 MB / 0.7878 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003068/0.8583, allocations: 1.204 MB / 0.7889 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.982e-05/0.8584, allocations: 11.94 kB / 0.7889 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.8584, allocations: 47.19 kB / 0.789 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=89): time 3.256e-06/0.8584, allocations: 0 / 0.789 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=131): time 0.04729/0.9057, allocations: 12.66 MB / 0.8014 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.9058, allocations: 68.52 kB / 0.8014 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.9076, allocations: 1.118 MB / 0.8025 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003675/0.908, allocations: 50.95 kB / 0.8026 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.9084, allocations: 0.7277 MB / 0.8033 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.9089, allocations: 475.4 kB / 0.8037 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005293/0.9094, allocations: 263.4 kB / 0.804 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.9095, allocations: 363.2 kB / 0.8043 GB, free: 464 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003209/0.9127, allocations: 1.342 MB / 0.8056 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003795/0.9165, allocations: 1.601 MB / 0.8072 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006772/0.9232, allocations: 2.993 MB / 0.8101 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.9233, allocations: 3.75 kB / 0.8101 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.0114/0.9347, allocations: 4.399 MB / 0.8144 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.9347, allocations: 14.83 kB / 0.8144 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.9347, allocations: 8.734 kB / 0.8144 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005727/0.9404, allocations: 1.418 MB / 0.8158 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.9428, allocations: 440.5 kB / 0.8162 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03099/0.9738, allocations: 25.11 MB / 0.8408 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.9766, allocations: 299.5 kB / 0.8411 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.9769, allocations: 67.89 kB / 0.8411 GB, free: 15.42 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.001004/0.9779, allocations: 431.4 kB / 0.8415 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.9783, allocations: 179 kB / 0.8417 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.9901, allocations: 4.4 MB / 0.846 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/0.9901, allocations: 12 kB / 0.846 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.046e-05/0.9901, allocations: 16 kB / 0.846 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.398e-05/0.9902, allocations: 11.97 kB / 0.846 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/1.006, allocations: 6.299 MB / 0.8522 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.006, allocations: 7.984 kB / 0.8522 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/1.008, allocations: 373.7 kB / 0.8526 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005066/1.013, allocations: 1.314 MB / 0.8538 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/1.013, allocations: 39.95 kB / 0.8539 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02773/1.041, allocations: 23.98 MB / 0.8773 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.041, allocations: 9.062 kB / 0.8773 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.053, allocations: 4.163 MB / 0.8814 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.054, allocations: 386.7 kB / 0.8817 GB, free: 4.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/1.055, allocations: 27.98 kB / 0.8818 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.057, allocations: 299.5 kB / 0.8821 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004997/1.057, allocations: 137.9 kB / 0.8822 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.057, allocations: 51.97 kB / 0.8822 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001128/1.058, allocations: 0.7487 MB / 0.883 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/1.058, allocations: 4 kB / 0.883 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002254/1.061, allocations: 0.5664 MB / 0.8835 GB, free: 2.57 MB / 0.6544 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.01137/1.072, allocations: 4.757 MB / 0.8882 GB, free: 13.76 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.084, allocations: 4.956 MB / 0.893 GB, free: 8.676 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.084, allocations: 4 kB / 0.893 GB, free: 8.672 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007128/1.091, allocations: 3.423 MB / 0.8964 GB, free: 5.105 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.093, allocations: 0.5769 MB / 0.8969 GB, free: 4.57 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04384/1.137, allocations: 19.32 MB / 0.9158 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.138, allocations: 0.8911 MB / 0.9167 GB, free: 72 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001661/1.14, allocations: 425.7 kB / 0.9171 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009765/1.141, allocations: 0.6319 MB / 0.9177 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of SimCode: time 1.343e-06/1.141, allocations: 0 / 0.9177 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/1.295, allocations: 56.39 MB / 0.9727 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.84/22.13, allocations: 4.062 kB / 0.9727 GB, free: 7.578 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.58204190793913] Failed to read output from testmodel.py, exit status != 0: 22.348921220982447 22.374032804 21.574656463 Calling exit ...