Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001659/0.001659, 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.0015/0.0015, allocations: 216.5 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.529/1.529, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.9691/0.9691, allocations: 150 MB / 464 MB, free: 10.19 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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.00204/0.00204, allocations: 58.28 kB / 0.642 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2163, allocations: 89.18 MB / 0.729 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01265/0.229, allocations: 5.893 MB / 0.7348 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00651/0.2355, allocations: 3.122 MB / 0.7379 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007658/0.2363, allocations: 39.62 kB / 0.7379 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.2392, allocations: 0.9292 MB / 0.7388 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.241, allocations: 0.4897 MB / 0.7393 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.2427, allocations: 480.9 kB / 0.7397 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.2453, allocations: 1.096 MB / 0.7408 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.2467, allocations: 0.522 MB / 0.7413 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.2478, allocations: 454.4 kB / 0.7417 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009844/0.2488, allocations: 0.4903 MB / 0.7422 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.249, allocations: 56 kB / 0.7423 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.2502, allocations: 451 kB / 0.7427 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004955/0.2507, allocations: 295.1 kB / 0.743 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.2516, allocations: 326.5 kB / 0.7433 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.2538, allocations: 1.179 MB / 0.7445 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.2538, allocations: 7.922 kB / 0.7445 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2538, allocations: 4 kB / 0.7445 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.243e-05/0.2539, allocations: 0 / 0.7445 GB, free: 0.9336 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002428/0.2563, allocations: 0.9987 MB / 0.7454 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2563, allocations: 8.031 kB / 0.7454 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.674e-05/0.2564, allocations: 17.5 kB / 0.7455 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.2565, allocations: 122.6 kB / 0.7456 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.2582, allocations: 232 kB / 0.7458 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2592, allocations: 0.501 MB / 0.7463 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.2593, allocations: 49.67 kB / 0.7463 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.2594, allocations: 72.3 kB / 0.7464 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.2612, allocations: 1.13 MB / 0.7475 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.2612, allocations: 7.984 kB / 0.7475 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.2613, allocations: 27.98 kB / 0.7475 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.2614, allocations: 69.28 kB / 0.7476 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.2625, allocations: 0.6995 MB / 0.7483 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005077/0.2676, allocations: 4.506 MB / 0.7527 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.2684, allocations: 418.2 kB / 0.7531 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008162/0.2692, allocations: 392.1 kB / 0.7535 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.2692, allocations: 4 kB / 0.7535 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2693, allocations: 34.56 kB / 0.7535 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.515e-06/0.2693, allocations: 3.938 kB / 0.7535 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.004382/0.2737, allocations: 1.711 MB / 0.7552 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2737, allocations: 55.41 kB / 0.7552 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.2742, allocations: 454.8 kB / 0.7557 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.2743, allocations: 29.7 kB / 0.7557 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.2746, allocations: 400.1 kB / 0.7561 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.2747, allocations: 166.6 kB / 0.7562 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.2749, allocations: 110.3 kB / 0.7563 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.2751, allocations: 362.8 kB / 0.7567 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.2755, allocations: 237.2 kB / 0.7569 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.2761, allocations: 465 kB / 0.7574 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.2771, allocations: 0.748 MB / 0.7581 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2771, allocations: 4 kB / 0.7581 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002016/0.2791, allocations: 1.023 MB / 0.7591 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.2792, allocations: 15.92 kB / 0.7591 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.2792, allocations: 8 kB / 0.7591 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.2803, allocations: 315.8 kB / 0.7594 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.2806, allocations: 95.81 kB / 0.7595 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3892/0.6698, allocations: 7.02 MB / 0.7664 GB, free: 29.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.6703, allocations: 29.38 kB / 0.7664 GB, free: 29.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.6703, allocations: 31.66 kB / 0.7664 GB, free: 29.12 MB / 0.5762 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.6706, allocations: 245.5 kB / 0.7667 GB, free: 29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.6707, allocations: 59.33 kB / 0.7667 GB, free: 29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.6722, allocations: 0.8878 MB / 0.7676 GB, free: 28.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6722, allocations: 4.219 kB / 0.7676 GB, free: 28.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.6722, allocations: 11.03 kB / 0.7676 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6722, allocations: 0.5 kB / 0.7676 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.6745, allocations: 1.571 MB / 0.7691 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6746, allocations: 3.641 kB / 0.7691 GB, free: 28.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.6747, allocations: 43.88 kB / 0.7692 GB, free: 28.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008936/0.6756, allocations: 307.2 kB / 0.7695 GB, free: 28.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.6756, allocations: 9.953 kB / 0.7695 GB, free: 28.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006141/0.6818, allocations: 7.01 MB / 0.7763 GB, free: 23.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.6818, allocations: 3.297 kB / 0.7763 GB, free: 23.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.6834, allocations: 0.9832 MB / 0.7773 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.6837, allocations: 101.2 kB / 0.7774 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.6837, allocations: 7.484 kB / 0.7774 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.684, allocations: 25.05 kB / 0.7774 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.6842, allocations: 50.86 kB / 0.7775 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.6842, allocations: 12.44 kB / 0.7775 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003627/0.6845, allocations: 307.6 kB / 0.7778 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6845, allocations: 0 / 0.7778 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008431/0.6854, allocations: 193.3 kB / 0.7779 GB, free: 23.19 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001878/0.6873, allocations: 1.52 MB / 0.7794 GB, free: 22.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.6891, allocations: 1.159 MB / 0.7806 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.6891, allocations: 0 / 0.7806 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.6902, allocations: 0.8351 MB / 0.7814 GB, free: 21.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.6912, allocations: 210.1 kB / 0.7816 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/0.7, allocations: 5.84 MB / 0.7873 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.7007, allocations: 391.5 kB / 0.7877 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004556/0.7012, allocations: 101 kB / 0.7878 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.7015, allocations: 227.6 kB / 0.788 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.773e-06/0.7015, allocations: 0 / 0.788 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07723/0.7787, allocations: 16.66 MB / 0.8042 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.4, allocations: 11.61 kB / 0.8043 GB, free: 12.46 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.42789003602229] Failed to read output from testmodel.py, exit status != 0: 13.57470687001478 13.597283593 13.339240122 Calling exit ...