Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001748/0.001748, 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.001983/0.001983, allocations: 217.1 kB / 23.79 MB, free: 4.699 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.48/1.48, allocations: 230.6 MB / 257.6 MB, free: 8.008 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 1.136/1.136, allocations: 150 MB / 464 MB, free: 10.95 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_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.002137/0.002137, allocations: 61.88 kB / 0.642 GB, free: 10.68 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1848, allocations: 89.17 MB / 0.7291 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009435/0.1943, allocations: 6.99 MB / 0.7359 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005944/0.2002, allocations: 3.195 MB / 0.7391 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.2009, allocations: 43.62 kB / 0.7391 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002766/0.2036, allocations: 0.9916 MB / 0.7401 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.2051, allocations: 0.5168 MB / 0.7406 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.2065, allocations: 427 kB / 0.741 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002361/0.2088, allocations: 1.225 MB / 0.7422 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.2101, allocations: 0.5412 MB / 0.7427 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.2112, allocations: 486.3 kB / 0.7432 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.2121, allocations: 0.5487 MB / 0.7437 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.2122, allocations: 68 kB / 0.7438 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008318/0.2131, allocations: 387.2 kB / 0.7441 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.2134, allocations: 330.9 kB / 0.7445 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.2139, allocations: 445.8 kB / 0.7449 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.2155, allocations: 1.218 MB / 0.7461 GB, free: 148 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2155, allocations: 7.984 kB / 0.7461 GB, free: 140 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2155, allocations: 0 / 0.7461 GB, free: 140 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.2155, allocations: 0 / 0.7461 GB, free: 140 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002068/0.2176, allocations: 1.104 MB / 0.7472 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.2176, allocations: 11.97 kB / 0.7472 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.96e-05/0.2177, allocations: 25.34 kB / 0.7472 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.2178, allocations: 118.7 kB / 0.7473 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.2194, allocations: 240.1 kB / 0.7475 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009961/0.2204, allocations: 0.5191 MB / 0.748 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.161e-05/0.2205, allocations: 57.62 kB / 0.7481 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.2206, allocations: 60.36 kB / 0.7482 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.2222, allocations: 1.089 MB / 0.7492 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.2223, allocations: 0 / 0.7492 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.2224, allocations: 35.94 kB / 0.7493 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/0.2225, allocations: 85.25 kB / 0.7493 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.2238, allocations: 0.7504 MB / 0.7501 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006423/0.2302, allocations: 5.803 MB / 0.7557 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.2313, allocations: 0.5089 MB / 0.7562 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.2318, allocations: 282 kB / 0.7565 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.2318, allocations: 8.438 kB / 0.7565 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.2318, allocations: 35 kB / 0.7565 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 3.166e-06/0.2318, allocations: 0 / 0.7565 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004197/0.236, allocations: 1.69 MB / 0.7582 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.2361, allocations: 55.84 kB / 0.7582 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000759/0.2368, allocations: 0.5509 MB / 0.7588 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.2369, allocations: 41.7 kB / 0.7588 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.2373, allocations: 428 kB / 0.7592 GB, free: 2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.2374, allocations: 182.5 kB / 0.7594 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.2377, allocations: 126.5 kB / 0.7595 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.2379, allocations: 378.7 kB / 0.7599 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.2384, allocations: 273.8 kB / 0.7602 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.2391, allocations: 0.493 MB / 0.7606 GB, free: 472 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3801/0.6191, allocations: 0.8031 MB / 0.7614 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.6192, allocations: 4.594 kB / 0.7614 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001838/0.621, allocations: 1.073 MB / 0.7625 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.621, allocations: 12.62 kB / 0.7625 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.621, allocations: 6.188 kB / 0.7625 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008038/0.6218, allocations: 276.9 kB / 0.7628 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/0.6223, allocations: 124.4 kB / 0.7629 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005095/0.6274, allocations: 6.737 MB / 0.7694 GB, free: 29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/0.628, allocations: 38.86 kB / 0.7695 GB, free: 29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.6281, allocations: 28.31 kB / 0.7695 GB, free: 29 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003207/0.6284, allocations: 255.7 kB / 0.7698 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/0.6285, allocations: 79.31 kB / 0.7698 GB, free: 28.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.63, allocations: 0.8751 MB / 0.7707 GB, free: 28.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.63, allocations: 8.922 kB / 0.7707 GB, free: 28.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.63, allocations: 8.625 kB / 0.7707 GB, free: 28.76 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.63, allocations: 2.672 kB / 0.7707 GB, free: 28.76 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.6325, allocations: 1.683 MB / 0.7724 GB, free: 28.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6325, allocations: 6.25 kB / 0.7724 GB, free: 28.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.6328, allocations: 63.62 kB / 0.7724 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008166/0.6336, allocations: 266.5 kB / 0.7727 GB, free: 28.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.6337, allocations: 9.625 kB / 0.7727 GB, free: 28.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/0.6393, allocations: 6.713 MB / 0.7792 GB, free: 23.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.6393, allocations: 4.812 kB / 0.7792 GB, free: 23.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.641, allocations: 0.9814 MB / 0.7802 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.6413, allocations: 116.1 kB / 0.7803 GB, free: 23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.78e-05/0.6414, allocations: 13.09 kB / 0.7803 GB, free: 22.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.6418, allocations: 31.03 kB / 0.7804 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.6419, allocations: 43.47 kB / 0.7804 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.642, allocations: 10.91 kB / 0.7804 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004737/0.6425, allocations: 385.7 kB / 0.7808 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6425, allocations: 0 / 0.7808 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000895/0.6434, allocations: 228.8 kB / 0.781 GB, free: 22.77 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001719/0.6451, allocations: 1.537 MB / 0.7825 GB, free: 21.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.6471, allocations: 1.232 MB / 0.7837 GB, free: 20.99 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6471, allocations: 1.094 kB / 0.7837 GB, free: 20.99 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.6484, allocations: 0.8633 MB / 0.7845 GB, free: 20.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6495, allocations: 231.3 kB / 0.7848 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.6597, allocations: 6.371 MB / 0.791 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.6605, allocations: 1.007 MB / 0.792 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00052/0.661, allocations: 123.9 kB / 0.7921 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.6613, allocations: 250.4 kB / 0.7923 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.6613, allocations: 0 / 0.7923 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/0.7248, allocations: 18.08 MB / 0.81 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.45, allocations: 14.66 kB / 0.81 GB, free: 9.316 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.635553235013504] Failed to read output from testmodel.py, exit status != 0: 13.625415079004597 13.636265696 13.41757351 Calling exit ...