Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001436/0.001436, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001534/0.001534, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.557/1.557, allocations: 230.6 MB / 254.2 MB, free: 15.12 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.9698/0.9698, allocations: 150 MB / 460.2 MB, free: 5.289 MB / 350.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.002012/0.002012, allocations: 68.64 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2225, allocations: 89.13 MB / 0.7238 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01902/0.2415, allocations: 14.24 MB / 0.7377 GB, free: 5.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.2578, allocations: 9.547 MB / 0.7471 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.26, allocations: 83.25 kB / 0.7471 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005226/0.2652, allocations: 1.685 MB / 0.7488 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.2714, allocations: 1.563 MB / 0.7503 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.2741, allocations: 0.7741 MB / 0.7511 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00577/0.2799, allocations: 2.524 MB / 0.7535 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.2822, allocations: 1.126 MB / 0.7546 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.285, allocations: 1.086 MB / 0.7557 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.2876, allocations: 1.206 MB / 0.7569 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.2879, allocations: 164 kB / 0.757 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.29, allocations: 0.815 MB / 0.7578 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007759/0.2908, allocations: 0.627 MB / 0.7584 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.2922, allocations: 0.9406 MB / 0.7594 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.2968, allocations: 2.775 MB / 0.7621 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2968, allocations: 0 / 0.7621 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2968, allocations: 0 / 0.7621 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.247e-05/0.2969, allocations: 0 / 0.7621 GB, free: 12.71 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005119/0.302, allocations: 2.199 MB / 0.7642 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.302, allocations: 12.03 kB / 0.7642 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.98e-05/0.3021, allocations: 30.56 kB / 0.7643 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/0.3024, allocations: 194.4 kB / 0.7644 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.3146, allocations: 2.094 MB / 0.7665 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/0.3182, allocations: 1.303 MB / 0.7678 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3183, allocations: 94.48 kB / 0.7679 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.3187, allocations: 119.9 kB / 0.768 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006702/0.3254, allocations: 2.681 MB / 0.7706 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.3254, allocations: 3.938 kB / 0.7706 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.3256, allocations: 63.95 kB / 0.7707 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007068/0.3263, allocations: 178.1 kB / 0.7708 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008417/0.3347, allocations: 2.799 MB / 0.7736 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.3535, allocations: 10.47 MB / 0.7838 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007786/0.3613, allocations: 2.458 MB / 0.7862 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003599/0.3648, allocations: 1.208 MB / 0.7874 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.365, allocations: 9 kB / 0.7874 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.365, allocations: 43.56 kB / 0.7874 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.997e-06/0.365, allocations: 0 / 0.7874 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.08341/0.4484, allocations: 13.34 MB / 0.8004 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.4485, allocations: 68.72 kB / 0.8005 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/0.4513, allocations: 1.117 MB / 0.8016 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004307/0.4518, allocations: 45.7 kB / 0.8016 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/0.4528, allocations: 0.7287 MB / 0.8023 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009145/0.4537, allocations: 475.9 kB / 0.8028 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008881/0.4546, allocations: 263.5 kB / 0.8031 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002938/0.4549, allocations: 365.9 kB / 0.8034 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00654/0.4614, allocations: 1.335 MB / 0.8047 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006599/0.468, allocations: 1.6 MB / 0.8063 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/0.4809, allocations: 2.994 MB / 0.8092 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.4809, allocations: 4 kB / 0.8092 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01494/0.4959, allocations: 4.396 MB / 0.8135 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4959, allocations: 8 kB / 0.8135 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.4959, allocations: 8 kB / 0.8135 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005752/0.5017, allocations: 1.443 MB / 0.8149 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.504, allocations: 427.3 kB / 0.8153 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03353/0.5375, allocations: 26.71 MB / 0.8414 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.5404, allocations: 307.4 kB / 0.8417 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/0.5406, allocations: 63.95 kB / 0.8418 GB, free: 7.773 MB / 0.6544 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009375/0.5415, allocations: 438.4 kB / 0.8422 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.5419, allocations: 175 kB / 0.8423 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.5546, allocations: 4.394 MB / 0.8466 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.5546, allocations: 16 kB / 0.8467 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/0.5546, allocations: 16 kB / 0.8467 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.5547, allocations: 7.969 kB / 0.8467 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.5715, allocations: 6.729 MB / 0.8532 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.5715, allocations: 4 kB / 0.8533 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.5735, allocations: 379.6 kB / 0.8536 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005105/0.5786, allocations: 1.31 MB / 0.8549 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/0.5788, allocations: 40.16 kB / 0.8549 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4847/1.063, allocations: 25.49 MB / 0.8798 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.063, allocations: 11.28 kB / 0.8798 GB, free: 118.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01211/1.076, allocations: 4.16 MB / 0.8839 GB, free: 117.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.077, allocations: 467.7 kB / 0.8843 GB, free: 117.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/1.077, allocations: 32.47 kB / 0.8844 GB, free: 117.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.079, allocations: 304.3 kB / 0.8847 GB, free: 117.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00067/1.08, allocations: 128.9 kB / 0.8848 GB, free: 117.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.08, allocations: 48.89 kB / 0.8848 GB, free: 117.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001661/1.082, allocations: 0.7542 MB / 0.8856 GB, free: 116.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/1.082, allocations: 0.9688 kB / 0.8856 GB, free: 116.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003843/1.086, allocations: 0.5665 MB / 0.8861 GB, free: 116.7 MB / 0.67 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01233/1.098, allocations: 4.75 MB / 0.8908 GB, free: 114.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.109, allocations: 4.973 MB / 0.8956 GB, free: 112.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/1.109, allocations: 0 / 0.8956 GB, free: 112.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006669/1.116, allocations: 3.418 MB / 0.899 GB, free: 110.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/1.119, allocations: 0.5478 MB / 0.8995 GB, free: 110.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03849/1.157, allocations: 19.33 MB / 0.9184 GB, free: 93.99 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.158, allocations: 1.481 MB / 0.9198 GB, free: 92.48 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0016/1.16, allocations: 419.9 kB / 0.9202 GB, free: 92.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007645/1.161, allocations: 0.6281 MB / 0.9208 GB, free: 91.44 MB / 0.67 GB Notification: Performance of SimCode: time 1.753e-06/1.161, allocations: 0 / 0.9208 GB, free: 91.44 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.142/1.303, allocations: 52.03 MB / 0.9716 GB, free: 40.05 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.31/20.61, allocations: 7.156 kB / 0.9716 GB, free: 40.05 MB / 0.67 GB " [Timeout remaining time 639] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.153075889043976] Failed to read output from testmodel.py, exit status != 0: 20.790958084980957 20.81031249 20.509720509 Calling exit ...