Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.0018/0.0018, allocations: 105.2 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.002053/0.002053, allocations: 213.1 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.942/0.942, allocations: 150 MB / 464 MB, free: 10.58 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.002169/0.002169, allocations: 61.81 kB / 0.642 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1835, allocations: 89.17 MB / 0.7291 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.4495/0.6331, allocations: 34.79 MB / 0.7631 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02222/0.6553, allocations: 15.3 MB / 0.778 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004523/0.6598, allocations: 207 kB / 0.7782 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.6707, allocations: 3.831 MB / 0.782 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.6818, allocations: 3.016 MB / 0.7849 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007695/0.6895, allocations: 2.378 MB / 0.7872 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01862/0.7081, allocations: 8.825 MB / 0.7959 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.7206, allocations: 5.552 MB / 0.8013 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008072/0.7287, allocations: 4.069 MB / 0.8053 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007865/0.7366, allocations: 4.266 MB / 0.8094 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003051/0.7396, allocations: 0.7149 MB / 0.8101 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007403/0.747, allocations: 1.748 MB / 0.8118 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.007169/0.7542, allocations: 2.899 MB / 0.8147 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01318/0.7674, allocations: 3.389 MB / 0.818 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.7876, allocations: 11.22 MB / 0.8289 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.7876, allocations: 0 / 0.8289 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7876, allocations: 0 / 0.8289 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004934/0.7881, allocations: 0 / 0.8289 GB, free: 3.332 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02129/0.8094, allocations: 6.061 MB / 0.8348 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.8095, allocations: 12.03 kB / 0.8349 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001807/0.8097, allocations: 142.1 kB / 0.835 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00281/0.8125, allocations: 0.7193 MB / 0.8357 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008828/0.8213, allocations: 1.18 MB / 0.8368 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00987/0.8312, allocations: 3.463 MB / 0.8402 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004165/0.8316, allocations: 378.9 kB / 0.8406 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.8337, allocations: 495.9 kB / 0.8411 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/0.8586, allocations: 7.999 MB / 0.8489 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003733/0.8589, allocations: 27.78 kB / 0.8489 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002386/0.8613, allocations: 219.9 kB / 0.8491 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001384/0.8627, allocations: 443.4 kB / 0.8495 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.8794, allocations: 6.085 MB / 0.8555 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05659/0.936, allocations: 34.64 MB / 0.8893 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.9399, allocations: 1.923 MB / 0.8912 GB, free: 492 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003059/0.943, allocations: 1.745 MB / 0.8929 GB, free: 14.74 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.9431, allocations: 18 kB / 0.8929 GB, free: 14.72 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/0.9432, allocations: 64.5 kB / 0.893 GB, free: 14.65 MB / 0.67 GB Notification: Performance of pre-optimization done (n=171): time 4.078e-06/0.9432, allocations: 0 / 0.893 GB, free: 14.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=276): time 0.1712/1.114, allocations: 38.71 MB / 0.9308 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.74e-05/1.115, allocations: 85.56 kB / 0.9308 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004413/1.119, allocations: 2.274 MB / 0.9331 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000412/1.119, allocations: 73.7 kB / 0.9331 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.121, allocations: 2.342 MB / 0.9354 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.123, allocations: 0.9798 MB / 0.9364 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/1.124, allocations: 0.5063 MB / 0.9369 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.124, allocations: 309.1 kB / 0.9372 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/1.127, allocations: 1.974 MB / 0.9391 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003855/1.131, allocations: 2.599 MB / 0.9416 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007921/1.139, allocations: 4.933 MB / 0.9464 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-05/1.139, allocations: 11.98 kB / 0.9465 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01748/1.157, allocations: 7.642 MB / 0.9539 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/1.157, allocations: 14.66 kB / 0.9539 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/1.157, allocations: 19.98 kB / 0.954 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/1.167, allocations: 3.216 MB / 0.9571 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.169, allocations: 411.2 kB / 0.9575 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05216/1.221, allocations: 33.29 MB / 0.99 GB, free: 9.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.225, allocations: 163.8 kB / 0.9902 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006601/1.226, allocations: 112 kB / 0.9903 GB, free: 9.598 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003999/1.23, allocations: 1.789 MB / 0.992 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.231, allocations: 345.8 kB / 0.9923 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/1.246, allocations: 7.243 MB / 0.9994 GB, free: 136 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/1.246, allocations: 24 kB / 0.9994 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-05/1.246, allocations: 39.94 kB / 0.9995 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.805e-05/1.246, allocations: 11.95 kB / 0.9995 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/1.276, allocations: 12.79 MB / 1.012 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.875e-05/1.276, allocations: 4 kB / 1.012 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/1.278, allocations: 235.7 kB / 1.012 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00915/1.287, allocations: 2.847 MB / 1.015 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003966/1.287, allocations: 52.05 kB / 1.015 GB, free: 15.95 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04882/1.336, allocations: 32.09 MB / 1.046 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/1.336, allocations: 11.94 kB / 1.046 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.35, allocations: 6.786 MB / 1.053 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/1.352, allocations: 0.7242 MB / 1.054 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008694/1.353, allocations: 55.98 kB / 1.054 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.355, allocations: 167.8 kB / 1.054 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008722/1.356, allocations: 269.2 kB / 1.054 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.357, allocations: 72 kB / 1.054 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002749/1.359, allocations: 1.533 MB / 1.056 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/1.359, allocations: 0 / 1.056 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004555/1.364, allocations: 1.371 MB / 1.057 GB, free: 3.961 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01428/1.378, allocations: 7.412 MB / 1.064 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.391, allocations: 6.571 MB / 1.071 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.391, allocations: 4.875 kB / 1.071 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.008482/1.399, allocations: 4.253 MB / 1.075 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006132/1.405, allocations: 1.112 MB / 1.076 GB, free: 260 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4436/1.849, allocations: 39.06 MB / 1.114 GB, free: 268 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005559/1.855, allocations: 3.642 MB / 1.118 GB, free: 266.7 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002152/1.857, allocations: 0.5544 MB / 1.118 GB, free: 266.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002595/1.859, allocations: 1.977 MB / 1.12 GB, free: 265 MB / 0.8419 GB Notification: Performance of SimCode: time 1.673e-06/1.859, allocations: 0 / 1.12 GB, free: 265 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1679/2.027, allocations: 115.4 MB / 1.233 GB, free: 164.9 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.35/21.37, allocations: 7.234 kB / 1.233 GB, free: 164.9 MB / 0.8419 GB " [Timeout remaining time 638] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.989393085008487] Failed to read output from testmodel.py, exit status != 0: 21.6008735219948 21.61061646 20.820372142 Calling exit ...