Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001413/0.001413, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.001616/0.001616, allocations: 207.2 kB / 20.8 MB, free: 2.391 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.563/1.563, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.008/1.008, allocations: 150 MB / 460.2 MB, free: 5.32 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.002059/0.002059, allocations: 70.34 kB / 0.6368 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2007, allocations: 89.13 MB / 0.7239 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01431/0.2151, allocations: 10.16 MB / 0.7338 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006112/0.2212, allocations: 3.099 MB / 0.7368 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.2222, allocations: 51.62 kB / 0.7369 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00238/0.2245, allocations: 0.7103 MB / 0.7375 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.2266, allocations: 0.7234 MB / 0.7383 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.2285, allocations: 0.6394 MB / 0.7389 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003616/0.2321, allocations: 2.738 MB / 0.7416 GB, free: 1.859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.2348, allocations: 1.898 MB / 0.7434 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.2369, allocations: 1.157 MB / 0.7445 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.2394, allocations: 1.492 MB / 0.746 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004605/0.2399, allocations: 216 kB / 0.7462 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.2411, allocations: 499.3 kB / 0.7467 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.2423, allocations: 1.005 MB / 0.7477 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.2437, allocations: 1.023 MB / 0.7487 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.2479, allocations: 3.411 MB / 0.752 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2479, allocations: 0 / 0.752 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2479, allocations: 0 / 0.752 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.045e-05/0.2479, allocations: 3.984 kB / 0.752 GB, free: 7.098 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004442/0.2524, allocations: 1.988 MB / 0.7539 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.2524, allocations: 8.031 kB / 0.7539 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.563e-05/0.2525, allocations: 39.12 kB / 0.754 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003753/0.2529, allocations: 252.7 kB / 0.7542 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006216/0.2591, allocations: 0.9048 MB / 0.7551 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.2618, allocations: 1.165 MB / 0.7562 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.2619, allocations: 111.3 kB / 0.7563 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004719/0.2624, allocations: 148.3 kB / 0.7565 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005982/0.2684, allocations: 3.013 MB / 0.7594 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/0.2684, allocations: 7.891 kB / 0.7594 GB, free: 15.26 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.2687, allocations: 63.97 kB / 0.7595 GB, free: 15.2 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002521/0.2689, allocations: 179 kB / 0.7597 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004821/0.2737, allocations: 2.611 MB / 0.7622 GB, free: 12.4 MB / 0.5763 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.2928, allocations: 13.5 MB / 0.7754 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.2952, allocations: 1.223 MB / 0.7766 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.2967, allocations: 0.9837 MB / 0.7776 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.184e-05/0.2967, allocations: 8.656 kB / 0.7776 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.2968, allocations: 43.16 kB / 0.7776 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 4.058e-06/0.2968, allocations: 8 kB / 0.7776 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=139): time 0.08074/0.3775, allocations: 19.32 MB / 0.7965 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.711e-05/0.3776, allocations: 72.66 kB / 0.7966 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.379, allocations: 0.9184 MB / 0.7974 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.3793, allocations: 53.7 kB / 0.7975 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006069/0.3799, allocations: 0.7385 MB / 0.7982 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005775/0.3804, allocations: 0.5074 MB / 0.7987 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006802/0.3811, allocations: 299.4 kB / 0.799 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.3813, allocations: 353.9 kB / 0.7993 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.3834, allocations: 1.335 MB / 0.8006 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.3858, allocations: 1.655 MB / 0.8023 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/0.3904, allocations: 3.092 MB / 0.8053 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.3904, allocations: 4 kB / 0.8053 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01306/0.4035, allocations: 5.551 MB / 0.8107 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.4035, allocations: 15.94 kB / 0.8107 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.4035, allocations: 8 kB / 0.8107 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009934/0.4135, allocations: 2.72 MB / 0.8134 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.4144, allocations: 199.7 kB / 0.8136 GB, free: 6.223 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04083/0.4552, allocations: 25.73 MB / 0.8387 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.4569, allocations: 95.89 kB / 0.8388 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.4571, allocations: 55.97 kB / 0.8388 GB, free: 11.79 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001462/0.4586, allocations: 0.7361 MB / 0.8396 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.459, allocations: 119.2 kB / 0.8397 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.4717, allocations: 5.314 MB / 0.8449 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.4717, allocations: 16 kB / 0.8449 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/0.4717, allocations: 16 kB / 0.8449 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.4717, allocations: 11.97 kB / 0.8449 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/0.4899, allocations: 8.607 MB / 0.8533 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.4899, allocations: 4 kB / 0.8533 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.4904, allocations: 123.7 kB / 0.8534 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009341/0.4997, allocations: 2.596 MB / 0.856 GB, free: 10.06 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001988/0.4999, allocations: 32 kB / 0.856 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4451/0.9451, allocations: 24.16 MB / 0.8796 GB, free: 126.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.9451, allocations: 4.5 kB / 0.8796 GB, free: 126.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01136/0.9564, allocations: 5.182 MB / 0.8847 GB, free: 124.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/0.9574, allocations: 492.3 kB / 0.8851 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.9576, allocations: 31.67 kB / 0.8852 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009438/0.9586, allocations: 80.67 kB / 0.8852 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005873/0.9592, allocations: 120.2 kB / 0.8853 GB, free: 124.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.9593, allocations: 38.56 kB / 0.8854 GB, free: 124.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009417/0.9602, allocations: 0.643 MB / 0.886 GB, free: 124.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.9602, allocations: 0 / 0.886 GB, free: 124.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002801/0.963, allocations: 0.7218 MB / 0.8867 GB, free: 124 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00957/0.9726, allocations: 5.753 MB / 0.8923 GB, free: 121.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005952/0.9785, allocations: 4.091 MB / 0.8963 GB, free: 119.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.9786, allocations: 0 / 0.8963 GB, free: 119.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004513/0.9831, allocations: 2.606 MB / 0.8989 GB, free: 117.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.9843, allocations: 226.8 kB / 0.8991 GB, free: 117.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03078/1.015, allocations: 21.29 MB / 0.9199 GB, free: 95.79 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.016, allocations: 1.704 MB / 0.9216 GB, free: 94.06 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005876/1.017, allocations: 325.2 kB / 0.9219 GB, free: 93.74 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004867/1.017, allocations: 0.5305 MB / 0.9224 GB, free: 93.21 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/1.017, allocations: 0 / 0.9224 GB, free: 93.21 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1896/1.207, allocations: 53.12 MB / 0.9743 GB, free: 40.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14.04, allocations: 19.75 kB / 0.9743 GB, free: 40.44 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.582073775993194] Failed to read output from testmodel.py, exit status != 0: 14.201219546957873 14.213497237 13.962584856 Calling exit ...