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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 117.1 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8772/0.8772, allocations: 129.2 MB / 432.5 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 0.5987 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4636, allocations: 83.45 MB / 0.6802 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01206/0.4756, allocations: 11.03 MB / 0.691 GB, free: 13.49 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.4906, allocations: 8.894 MB / 0.6996 GB, free: 6.469 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.4923, allocations: 54.78 kB / 0.6997 GB, free: 6.449 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.004795/0.4971, allocations: 1.697 MB / 0.7014 GB, free: 5.148 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.5024, allocations: 1.572 MB / 0.7029 GB, free: 3.91 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.5044, allocations: 0.6718 MB / 0.7035 GB, free: 3.371 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.003582/0.508, allocations: 2.281 MB / 0.7058 GB, free: 2.043 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.5097, allocations: 1.095 MB / 0.7068 GB, free: 1.375 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.5116, allocations: 1.012 MB / 0.7078 GB, free: 0.8203 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.5132, allocations: 1.071 MB / 0.7089 GB, free: 156 kB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.5134, allocations: 138.6 kB / 0.709 GB, free: 156 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.5151, allocations: 0.8211 MB / 0.7098 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006425/0.5158, allocations: 0.5724 MB / 0.7104 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.5168, allocations: 0.89 MB / 0.7112 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003345/0.5201, allocations: 2.584 MB / 0.7138 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5201, allocations: 0 / 0.7138 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5201, allocations: 0 / 0.7138 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.97e-05/0.5202, allocations: 0 / 0.7138 GB, free: 11.52 MB / 0.5294 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.003561/0.5237, allocations: 2.074 MB / 0.7158 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5238, allocations: 12.03 kB / 0.7158 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002369/0.524, allocations: 186.1 kB / 0.716 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.5347, allocations: 2.063 MB / 0.718 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/0.5376, allocations: 1.225 MB / 0.7192 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.5377, allocations: 86.64 kB / 0.7193 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/0.538, allocations: 119.9 kB / 0.7194 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005461/0.5434, allocations: 2.474 MB / 0.7218 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.465e-05/0.5435, allocations: 11.94 kB / 0.7218 GB, free: 3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.5436, allocations: 51.98 kB / 0.7219 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.544, allocations: 126.1 kB / 0.722 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006844/0.5508, allocations: 2.541 MB / 0.7245 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.5657, allocations: 10.05 MB / 0.7343 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.5717, allocations: 1.921 MB / 0.7362 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.5743, allocations: 0.9409 MB / 0.7371 GB, free: 2.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.5744, allocations: 4.438 kB / 0.7371 GB, free: 2.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.5744, allocations: 47 kB / 0.7371 GB, free: 2.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=53): time 3.006e-06/0.5744, allocations: 0 / 0.7371 GB, free: 2.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=81): time 0.03059/0.605, allocations: 8.709 MB / 0.7456 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.6051, allocations: 64 kB / 0.7457 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.6067, allocations: 1.097 MB / 0.7468 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.6068, allocations: 37.7 kB / 0.7468 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/0.6075, allocations: 0.7512 MB / 0.7475 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.6078, allocations: 301.4 kB / 0.7478 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/0.6082, allocations: 206.5 kB / 0.748 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6084, allocations: 342 kB / 0.7483 GB, free: 7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/0.6112, allocations: 1.067 MB / 0.7494 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/0.6143, allocations: 1.301 MB / 0.7507 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006253/0.6206, allocations: 2.39 MB / 0.753 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6206, allocations: 4 kB / 0.753 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009188/0.6298, allocations: 3.254 MB / 0.7562 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.6298, allocations: 8 kB / 0.7562 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.6298, allocations: 16.03 kB / 0.7562 GB, free: 14.73 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/0.6326, allocations: 0.7832 MB / 0.757 GB, free: 13.93 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.6345, allocations: 419.2 kB / 0.7574 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/0.6531, allocations: 15.93 MB / 0.7729 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.6553, allocations: 287.5 kB / 0.7732 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.6555, allocations: 47.97 kB / 0.7732 GB, free: 12.13 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.0007949/0.6563, allocations: 405.5 kB / 0.7736 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.6566, allocations: 151.1 kB / 0.7738 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008621/0.6652, allocations: 3.179 MB / 0.7769 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.6652, allocations: 8 kB / 0.7769 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.6652, allocations: 8 kB / 0.7769 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6652, allocations: 7.984 kB / 0.7769 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.6768, allocations: 4.878 MB / 0.7817 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.6768, allocations: 4 kB / 0.7817 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.6783, allocations: 355.3 kB / 0.782 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.6807, allocations: 0.6976 MB / 0.7827 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-05/0.6808, allocations: 31.95 kB / 0.7827 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/0.6982, allocations: 15.55 MB / 0.7979 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6982, allocations: 0 / 0.7979 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008487/0.7067, allocations: 3.021 MB / 0.8008 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.7079, allocations: 392 kB / 0.8012 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.7081, allocations: 23.98 kB / 0.8012 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.7099, allocations: 287.5 kB / 0.8015 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003098/0.7102, allocations: 80.48 kB / 0.8016 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.7103, allocations: 39.97 kB / 0.8016 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001146/0.7114, allocations: 0.7405 MB / 0.8024 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.7114, allocations: 0 / 0.8024 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001603/0.713, allocations: 432 kB / 0.8028 GB, free: 12.46 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.008185/0.7212, allocations: 3.595 MB / 0.8063 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008171/0.7294, allocations: 3.511 MB / 0.8097 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.7294, allocations: 0 / 0.8097 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004956/0.7343, allocations: 2.321 MB / 0.812 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.7366, allocations: 0.528 MB / 0.8125 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/0.7711, allocations: 15.8 MB / 0.8279 GB, free: 2.004 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.7723, allocations: 1.388 MB / 0.8293 GB, free: 0.582 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.001378/0.7737, allocations: 379.9 kB / 0.8296 GB, free: 212 kB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008813/0.7745, allocations: 0.5969 MB / 0.8302 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of SimCode: time 7.81e-07/0.7745, allocations: 0 / 0.8302 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.8831, allocations: 41.74 MB / 0.871 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.28, allocations: 0 / 0.871 GB, free: 6.453 MB / 0.6856 GB " [Timeout remaining time 645] (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: 19.35379179380834] Failed to read output from testmodel.py, exit status != 0: 15.386772267986089 15.754539799 15.23078019 Calling exit ...