Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.00147/0.00147, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001569/0.001569, allocations: 211.5 kB / 23.78 MB, free: 4.527 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.6 MB, free: 7.812 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.9628/0.9628, allocations: 150 MB / 464 MB, free: 10.23 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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_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.002022/0.002022, allocations: 61.75 kB / 0.642 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 89.18 MB / 0.7291 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03747/0.2252, allocations: 29.22 MB / 0.7576 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3849/0.6101, allocations: 13.15 MB / 0.7704 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.6134, allocations: 194 kB / 0.7706 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.008258/0.6217, allocations: 3.197 MB / 0.7737 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008337/0.63, allocations: 2.748 MB / 0.7764 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005221/0.6352, allocations: 2.026 MB / 0.7784 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01229/0.6475, allocations: 7.626 MB / 0.7859 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009919/0.6574, allocations: 4.647 MB / 0.7904 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006719/0.6642, allocations: 3.535 MB / 0.7938 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006177/0.6703, allocations: 3.57 MB / 0.7973 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002045/0.6724, allocations: 0.5953 MB / 0.7979 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/0.6775, allocations: 1.408 MB / 0.7993 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003774/0.6813, allocations: 2.43 MB / 0.8017 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005443/0.6868, allocations: 2.334 MB / 0.8039 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.699, allocations: 9.537 MB / 0.8133 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.699, allocations: 5.281 kB / 0.8133 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.455e-06/0.699, allocations: 0 / 0.8133 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003698/0.6993, allocations: 0 / 0.8133 GB, free: 12.18 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01622/0.7156, allocations: 5.19 MB / 0.8183 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.7156, allocations: 11.28 kB / 0.8183 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001172/0.7157, allocations: 116 kB / 0.8184 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001334/0.7171, allocations: 0.6157 MB / 0.819 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006224/0.7233, allocations: 1.026 MB / 0.82 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007547/0.7308, allocations: 3.016 MB / 0.823 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002899/0.7311, allocations: 321 kB / 0.8233 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.7328, allocations: 428 kB / 0.8237 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.7503, allocations: 7.526 MB / 0.8311 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/0.7505, allocations: 15.89 kB / 0.8311 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009832/0.7515, allocations: 184.6 kB / 0.8313 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009481/0.7524, allocations: 372 kB / 0.8316 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.7641, allocations: 5.11 MB / 0.8366 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03618/0.8003, allocations: 19.78 MB / 0.8559 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.8026, allocations: 1.307 MB / 0.8572 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.8045, allocations: 1.257 MB / 0.8584 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.8046, allocations: 21.31 kB / 0.8584 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.852e-05/0.8047, allocations: 44.75 kB / 0.8585 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=130): time 4.098e-06/0.8047, allocations: 4 kB / 0.8585 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of matching and sorting (n=199): time 0.08761/0.8923, allocations: 22.84 MB / 0.8808 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.8923, allocations: 73.41 kB / 0.8809 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003317/0.8957, allocations: 2.066 MB / 0.8829 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003965/0.8961, allocations: 61.7 kB / 0.8829 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.8978, allocations: 2.063 MB / 0.885 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008704/0.8987, allocations: 0.7155 MB / 0.8857 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008364/0.8995, allocations: 412.4 kB / 0.886 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8996, allocations: 309.1 kB / 0.8863 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.9019, allocations: 1.431 MB / 0.8877 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/0.9047, allocations: 2.01 MB / 0.8897 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005442/0.9102, allocations: 3.702 MB / 0.8933 GB, free: 14.11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.9102, allocations: 4 kB / 0.8933 GB, free: 14.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01209/0.9223, allocations: 5.594 MB / 0.8988 GB, free: 8.441 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.9223, allocations: 15.98 kB / 0.8988 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.9223, allocations: 20 kB / 0.8988 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007208/0.9295, allocations: 2.077 MB / 0.9008 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.9313, allocations: 382 kB / 0.9012 GB, free: 5.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04251/0.9738, allocations: 36.29 MB / 0.9366 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.9764, allocations: 131.9 kB / 0.9368 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.9767, allocations: 92 kB / 0.9369 GB, free: 15.39 MB / 0.7169 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003247/0.98, allocations: 1.508 MB / 0.9383 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008204/0.9808, allocations: 298.2 kB / 0.9386 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.9919, allocations: 5.141 MB / 0.9436 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.9919, allocations: 20 kB / 0.9437 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-05/0.9919, allocations: 16 kB / 0.9437 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-05/0.992, allocations: 15.89 kB / 0.9437 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/1.011, allocations: 9.087 MB / 0.9526 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/1.011, allocations: 8.109 kB / 0.9526 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009882/1.012, allocations: 219.6 kB / 0.9528 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006431/1.019, allocations: 1.835 MB / 0.9546 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003846/1.019, allocations: 43.98 kB / 0.9546 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04067/1.06, allocations: 35.29 MB / 0.9891 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.06, allocations: 11.94 kB / 0.9891 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/1.07, allocations: 4.856 MB / 0.9938 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/1.072, allocations: 0.5526 MB / 0.9944 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006028/1.072, allocations: 47.98 kB / 0.9944 GB, free: 1.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.074, allocations: 123.8 kB / 0.9945 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007224/1.075, allocations: 201.5 kB / 0.9947 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.075, allocations: 60 kB / 0.9948 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002263/1.077, allocations: 1.378 MB / 0.9961 GB, free: 208 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.077, allocations: 4 kB / 0.9961 GB, free: 204 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005028/1.082, allocations: 1.047 MB / 0.9972 GB, free: 15.15 MB / 0.7794 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,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.01065/1.093, allocations: 5.472 MB / 1.002 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0116/1.104, allocations: 6.01 MB / 1.008 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.104, allocations: 256 / 1.008 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007397/1.112, allocations: 4.284 MB / 1.013 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004724/1.116, allocations: 0.9914 MB / 1.014 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05987/1.176, allocations: 30.75 MB / 1.044 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00396/1.18, allocations: 2.58 MB / 1.046 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001914/1.182, allocations: 0.5199 MB / 1.047 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002332/1.184, allocations: 1.671 MB / 1.048 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of SimCode: time 1.082e-06/1.184, allocations: 0 / 1.048 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6135/1.798, allocations: 94.72 MB / 1.141 GB, free: 280.9 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.12/19.92, allocations: 6.641 kB / 1.141 GB, free: 280.9 MB / 0.8575 GB " [Timeout remaining time 640] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.423422956024297] Failed to read output from testmodel.py, exit status != 0: 20.14397720003035 20.1553866 19.453841827 Calling exit ...