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.001307/0.001307, 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.001446/0.001446, allocations: 213.3 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.9785/0.9785, allocations: 150 MB / 463.9 MB, free: 10.27 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.002024/0.002024, allocations: 63.95 kB / 0.642 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.183, allocations: 89.18 MB / 0.729 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01334/0.1963, allocations: 10.29 MB / 0.7391 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01437/0.2107, allocations: 8.488 MB / 0.7474 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.212, allocations: 79.31 kB / 0.7475 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00476/0.2168, allocations: 1.668 MB / 0.7491 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004837/0.2216, allocations: 1.571 MB / 0.7506 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.2235, allocations: 0.6735 MB / 0.7513 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003622/0.2272, allocations: 2.29 MB / 0.7535 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.2294, allocations: 1.172 MB / 0.7547 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00209/0.2315, allocations: 1.028 MB / 0.7557 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/0.2342, allocations: 1.07 MB / 0.7567 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005807/0.2348, allocations: 140 kB / 0.7568 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.2369, allocations: 0.7447 MB / 0.7576 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007708/0.2376, allocations: 0.5724 MB / 0.7581 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.2389, allocations: 0.7269 MB / 0.7588 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4172/0.6561, allocations: 2.609 MB / 0.7614 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.6561, allocations: 0 / 0.7614 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6561, allocations: 0 / 0.7614 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000146/0.6563, allocations: 0 / 0.7614 GB, free: 11.83 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.004627/0.6609, allocations: 1.989 MB / 0.7633 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.661, allocations: 9.812 kB / 0.7633 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.015e-05/0.661, allocations: 32.11 kB / 0.7634 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/0.6612, allocations: 189.1 kB / 0.7636 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.6724, allocations: 2.055 MB / 0.7656 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.6752, allocations: 1.139 MB / 0.7667 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.6753, allocations: 87.39 kB / 0.7668 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.6756, allocations: 122.6 kB / 0.7669 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005932/0.6815, allocations: 2.879 MB / 0.7697 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.601e-05/0.6815, allocations: 12.28 kB / 0.7697 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.6817, allocations: 54.66 kB / 0.7697 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003806/0.6821, allocations: 127 kB / 0.7699 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007346/0.6894, allocations: 2.542 MB / 0.7724 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01941/0.7088, allocations: 7.623 MB / 0.7798 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009397/0.7182, allocations: 1.845 MB / 0.7816 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004187/0.7224, allocations: 0.9467 MB / 0.7825 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.048e-05/0.7225, allocations: 8.25 kB / 0.7825 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.7225, allocations: 42.31 kB / 0.7826 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.566e-06/0.7225, allocations: 0 / 0.7826 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.02961/0.7521, allocations: 8.635 MB / 0.791 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.7522, allocations: 63.81 kB / 0.7911 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.7537, allocations: 1.108 MB / 0.7921 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.7538, allocations: 37.23 kB / 0.7922 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.7542, allocations: 0.7554 MB / 0.7929 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.7545, allocations: 293.5 kB / 0.7932 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.7549, allocations: 202.5 kB / 0.7934 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.7549, allocations: 341 kB / 0.7937 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002779/0.7577, allocations: 1.074 MB / 0.7948 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/0.7605, allocations: 1.303 MB / 0.796 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005541/0.766, allocations: 2.383 MB / 0.7984 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.766, allocations: 2.531 kB / 0.7984 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008386/0.7744, allocations: 3.251 MB / 0.8015 GB, free: 484 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.7744, allocations: 7.688 kB / 0.8016 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.7745, allocations: 14.97 kB / 0.8016 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/0.7772, allocations: 0.7812 MB / 0.8023 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.7791, allocations: 419.2 kB / 0.8027 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/0.7967, allocations: 14.99 MB / 0.8174 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.7993, allocations: 295.9 kB / 0.8177 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.7995, allocations: 51.81 kB / 0.8177 GB, free: 2.617 MB / 0.5919 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.0009818/0.8004, allocations: 404.7 kB / 0.8181 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.8008, allocations: 151.1 kB / 0.8182 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/0.8089, allocations: 3.177 MB / 0.8213 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.809, allocations: 11.09 kB / 0.8213 GB, free: 468 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.809, allocations: 11.12 kB / 0.8214 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.809, allocations: 3.984 kB / 0.8214 GB, free: 460 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.8195, allocations: 4.629 MB / 0.8259 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.8195, allocations: 6.719 kB / 0.8259 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/0.8211, allocations: 353.4 kB / 0.8262 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/0.8235, allocations: 0.7007 MB / 0.8269 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.8236, allocations: 27.97 kB / 0.8269 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/0.8405, allocations: 14.6 MB / 0.8412 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8405, allocations: 4 kB / 0.8412 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008491/0.849, allocations: 3.023 MB / 0.8442 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009819/0.85, allocations: 306.9 kB / 0.8444 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.8502, allocations: 26.14 kB / 0.8445 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/0.852, allocations: 291.5 kB / 0.8447 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.8523, allocations: 83.88 kB / 0.8448 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.8524, allocations: 35.97 kB / 0.8449 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001061/0.8535, allocations: 0.7405 MB / 0.8456 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.8535, allocations: 2.297 kB / 0.8456 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001506/0.855, allocations: 432 kB / 0.846 GB, free: 8.57 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.008764/0.8638, allocations: 3.585 MB / 0.8495 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009179/0.873, allocations: 3.526 MB / 0.8529 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.873, allocations: 1.859 kB / 0.8529 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005619/0.8786, allocations: 2.321 MB / 0.8552 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/0.8811, allocations: 0.5272 MB / 0.8557 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03564/0.9168, allocations: 15.82 MB / 0.8712 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009486/0.9177, allocations: 0.8013 MB / 0.872 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001457/0.9192, allocations: 379.9 kB / 0.8723 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009692/0.9201, allocations: 0.5969 MB / 0.8729 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of SimCode: time 1.533e-06/0.9201, allocations: 0 / 0.8729 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/1.029, allocations: 45.43 MB / 0.9173 GB, free: 8 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/17.98, allocations: 11.7 kB / 0.9173 GB, free: 16 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.974247200065292] Failed to read output from testmodel.py, exit status != 0: 18.18388719903305 18.21057184 17.549183192 Calling exit ...