Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.001277/0.001277, 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.001516/0.001516, allocations: 215.2 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.466/1.466, allocations: 230.6 MB / 257.6 MB, free: 8.008 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 0.9702/0.9702, allocations: 150 MB / 464 MB, free: 10.5 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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_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.001959/0.001959, allocations: 68.58 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 89.16 MB / 0.7291 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.02197/0.196, allocations: 11.31 MB / 0.7402 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.2178, allocations: 9.142 MB / 0.7491 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/0.2197, allocations: 79.25 kB / 0.7492 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006309/0.226, allocations: 1.738 MB / 0.7509 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006979/0.233, allocations: 1.574 MB / 0.7524 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.2358, allocations: 0.6886 MB / 0.7531 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004981/0.2408, allocations: 2.287 MB / 0.7553 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002637/0.2434, allocations: 1.168 MB / 0.7564 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.2453, allocations: 1.028 MB / 0.7574 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.2479, allocations: 1.066 MB / 0.7585 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003822/0.2483, allocations: 143.9 kB / 0.7586 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.2506, allocations: 0.8188 MB / 0.7594 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008949/0.2515, allocations: 0.5763 MB / 0.76 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.253, allocations: 0.8823 MB / 0.7608 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3994/0.6524, allocations: 2.582 MB / 0.7634 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6524, allocations: 0 / 0.7634 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6524, allocations: 1.594 kB / 0.7634 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.659e-05/0.6525, allocations: 0 / 0.7634 GB, free: 11.9 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004403/0.6569, allocations: 2.004 MB / 0.7653 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6569, allocations: 12.27 kB / 0.7653 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.533e-05/0.657, allocations: 29.86 kB / 0.7654 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/0.6572, allocations: 193.8 kB / 0.7656 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.6687, allocations: 2.054 MB / 0.7676 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002803/0.6715, allocations: 1.134 MB / 0.7687 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.6716, allocations: 89.19 kB / 0.7688 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/0.6719, allocations: 119.2 kB / 0.7689 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006293/0.6782, allocations: 2.479 MB / 0.7713 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.6783, allocations: 8.703 kB / 0.7713 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.6784, allocations: 54.59 kB / 0.7713 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000455/0.6789, allocations: 128.4 kB / 0.7715 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009176/0.6881, allocations: 2.541 MB / 0.7739 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01776/0.7058, allocations: 9.913 MB / 0.7836 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006702/0.7125, allocations: 1.85 MB / 0.7854 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002766/0.7153, allocations: 0.9418 MB / 0.7864 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.7153, allocations: 5.312 kB / 0.7864 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.7154, allocations: 42.25 kB / 0.7864 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.7154, allocations: 4 kB / 0.7864 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.03073/0.7461, allocations: 8.639 MB / 0.7948 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.7461, allocations: 59.88 kB / 0.7949 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.7476, allocations: 1.1 MB / 0.796 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.7478, allocations: 39.8 kB / 0.796 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.7482, allocations: 0.7493 MB / 0.7967 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.7484, allocations: 296.1 kB / 0.797 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003807/0.7488, allocations: 199.6 kB / 0.7972 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.7488, allocations: 347.6 kB / 0.7975 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/0.7518, allocations: 1.072 MB / 0.7986 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002999/0.7548, allocations: 1.305 MB / 0.7999 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006539/0.7614, allocations: 2.386 MB / 0.8022 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.7614, allocations: 2.781 kB / 0.8022 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009582/0.771, allocations: 3.256 MB / 0.8054 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.771, allocations: 10.83 kB / 0.8054 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.771, allocations: 9.625 kB / 0.8054 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/0.7739, allocations: 0.7888 MB / 0.8062 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.776, allocations: 419.8 kB / 0.8066 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.7936, allocations: 15.12 MB / 0.8213 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.7961, allocations: 292.6 kB / 0.8216 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.7962, allocations: 49.19 kB / 0.8217 GB, free: 15.55 MB / 0.6075 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 (82): * Single equations (assignments): 74 * 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 {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008464/0.7971, allocations: 403.4 kB / 0.822 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.7973, allocations: 152.7 kB / 0.8222 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008941/0.8063, allocations: 3.179 MB / 0.8253 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8063, allocations: 11.84 kB / 0.8253 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.8063, allocations: 3.969 kB / 0.8253 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.8063, allocations: 7.953 kB / 0.8253 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.8183, allocations: 4.848 MB / 0.8301 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.8183, allocations: 7.969 kB / 0.8301 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.8201, allocations: 358.3 kB / 0.8304 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0025/0.8226, allocations: 0.7004 MB / 0.8311 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.8227, allocations: 31.97 kB / 0.8311 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0171/0.8398, allocations: 14.71 MB / 0.8455 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.8398, allocations: 7.75 kB / 0.8455 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009229/0.8491, allocations: 3.017 MB / 0.8484 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.8501, allocations: 314.8 kB / 0.8487 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.8504, allocations: 20 kB / 0.8488 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/0.8525, allocations: 292 kB / 0.849 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.8528, allocations: 89.25 kB / 0.8491 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.8529, allocations: 39.97 kB / 0.8492 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001221/0.8542, allocations: 0.7366 MB / 0.8499 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.8542, allocations: 0 / 0.8499 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001663/0.8558, allocations: 432 kB / 0.8503 GB, free: 4.418 MB / 0.6231 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 (46): * Single equations (assignments): 38 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009313/0.8651, allocations: 3.597 MB / 0.8538 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009768/0.8749, allocations: 3.514 MB / 0.8572 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.8749, allocations: 0 / 0.8572 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005656/0.8806, allocations: 2.328 MB / 0.8595 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.8832, allocations: 0.5361 MB / 0.86 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03832/0.9216, allocations: 15.82 MB / 0.8755 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/0.9228, allocations: 1.388 MB / 0.8768 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001526/0.9244, allocations: 382.1 kB / 0.8772 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009454/0.9253, allocations: 0.593 MB / 0.8778 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of SimCode: time 1.252e-06/0.9253, allocations: 0 / 0.8778 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1075/1.033, allocations: 42.72 MB / 0.9195 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/17.57, allocations: 11.2 kB / 0.9195 GB, free: 13.79 MB / 0.7012 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.589000157022383] Failed to read output from testmodel.py, exit status != 0: 17.761778882006183 17.788695446 17.131054214 Calling exit ...