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.001851/0.001851, 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.002513/0.002513, allocations: 213.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.611/1.611, 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 1.042/1.042, allocations: 150 MB / 464 MB, free: 10.73 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.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.002008/0.002008, allocations: 66.06 kB / 0.642 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1754, allocations: 89.18 MB / 0.7291 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01316/0.1886, allocations: 9.629 MB / 0.7385 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006126/0.1947, allocations: 3.01 MB / 0.7414 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008114/0.1955, allocations: 47.69 kB / 0.7414 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.1977, allocations: 0.6842 MB / 0.7421 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.1998, allocations: 0.7274 MB / 0.7428 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.2014, allocations: 0.6542 MB / 0.7435 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003622/0.205, allocations: 2.738 MB / 0.7461 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.2074, allocations: 1.371 MB / 0.7475 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.2094, allocations: 1.157 MB / 0.7486 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.2119, allocations: 1.492 MB / 0.7501 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006027/0.2125, allocations: 220 kB / 0.7503 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.2138, allocations: 471.3 kB / 0.7507 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.2152, allocations: 1.009 MB / 0.7517 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001597/0.2168, allocations: 0.8249 MB / 0.7525 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004076/0.2209, allocations: 3.438 MB / 0.7559 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2209, allocations: 4 kB / 0.7559 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2209, allocations: 0 / 0.7559 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.047e-05/0.221, allocations: 0 / 0.7559 GB, free: 5.348 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003769/0.2247, allocations: 1.909 MB / 0.7577 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.2248, allocations: 8.031 kB / 0.7577 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.08e-05/0.2248, allocations: 43.12 kB / 0.7578 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003397/0.2252, allocations: 256.7 kB / 0.758 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0058/0.231, allocations: 0.9009 MB / 0.7589 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002574/0.2335, allocations: 1.12 MB / 0.76 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.2337, allocations: 107.3 kB / 0.7601 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004751/0.2341, allocations: 144.3 kB / 0.7602 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3934/0.6276, allocations: 3.097 MB / 0.7633 GB, free: 32.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.53e-05/0.6276, allocations: 2.672 kB / 0.7633 GB, free: 32.92 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.6278, allocations: 61.06 kB / 0.7633 GB, free: 32.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002108/0.628, allocations: 175.5 kB / 0.7635 GB, free: 32.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004219/0.6322, allocations: 2.607 MB / 0.766 GB, free: 32.9 MB / 0.5762 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.01722/0.6495, allocations: 9.322 MB / 0.7751 GB, free: 29.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00243/0.6519, allocations: 1.224 MB / 0.7763 GB, free: 28.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.6535, allocations: 0.9742 MB / 0.7773 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.6536, allocations: 9.328 kB / 0.7773 GB, free: 28.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.6536, allocations: 39.12 kB / 0.7773 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 3.296e-06/0.6536, allocations: 0.625 kB / 0.7773 GB, free: 28.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.07226/0.7259, allocations: 18.88 MB / 0.7958 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.7259, allocations: 67.06 kB / 0.7958 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.7272, allocations: 0.9218 MB / 0.7967 GB, free: 22.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.7275, allocations: 49.8 kB / 0.7968 GB, free: 22.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.7279, allocations: 0.7545 MB / 0.7975 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.7283, allocations: 0.4969 MB / 0.798 GB, free: 21.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000595/0.7289, allocations: 294.6 kB / 0.7983 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.729, allocations: 352.9 kB / 0.7986 GB, free: 21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/0.7308, allocations: 1.335 MB / 0.7999 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.7325, allocations: 1.657 MB / 0.8016 GB, free: 19.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/0.7358, allocations: 3.09 MB / 0.8046 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.7358, allocations: 0 / 0.8046 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01038/0.7462, allocations: 5.572 MB / 0.81 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.7462, allocations: 8 kB / 0.81 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.7462, allocations: 8 kB / 0.81 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008641/0.7549, allocations: 2.719 MB / 0.8127 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/0.7557, allocations: 191.7 kB / 0.8129 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03664/0.7923, allocations: 25 MB / 0.8373 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.7939, allocations: 95.95 kB / 0.8374 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/0.7941, allocations: 57.22 kB / 0.8374 GB, free: 14.55 MB / 0.6075 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.001432/0.7956, allocations: 0.737 MB / 0.8381 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.7959, allocations: 119.3 kB / 0.8383 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.8081, allocations: 5.314 MB / 0.8435 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.8081, allocations: 12 kB / 0.8435 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.252e-05/0.8082, allocations: 23.56 kB / 0.8435 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-05/0.8082, allocations: 11.8 kB / 0.8435 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01913/0.8273, allocations: 8.261 MB / 0.8516 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.8274, allocations: 4 kB / 0.8516 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.8279, allocations: 115.9 kB / 0.8517 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009488/0.8374, allocations: 2.583 MB / 0.8542 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/0.8377, allocations: 28 kB / 0.8542 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03812/0.8758, allocations: 23.45 MB / 0.8771 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.8758, allocations: 7.938 kB / 0.8771 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.8887, allocations: 5.179 MB / 0.8822 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.89, allocations: 427.1 kB / 0.8826 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/0.8904, allocations: 31.94 kB / 0.8826 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/0.8916, allocations: 75.91 kB / 0.8827 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006504/0.8922, allocations: 132.9 kB / 0.8828 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.8924, allocations: 32 kB / 0.8829 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00119/0.8936, allocations: 0.6512 MB / 0.8835 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8936, allocations: 0 / 0.8835 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003096/0.8967, allocations: 0.7227 MB / 0.8842 GB, free: 14.02 MB / 0.6544 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.01233/0.909, allocations: 5.742 MB / 0.8898 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008491/0.9175, allocations: 4.084 MB / 0.8938 GB, free: 4.051 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.9175, allocations: 4 kB / 0.8938 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005618/0.9231, allocations: 2.607 MB / 0.8963 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.9249, allocations: 226.5 kB / 0.8966 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04424/0.9691, allocations: 21.35 MB / 0.9174 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.9709, allocations: 1.113 MB / 0.9185 GB, free: 10.24 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008734/0.9718, allocations: 328.7 kB / 0.9188 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/0.9726, allocations: 0.5305 MB / 0.9193 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/0.9726, allocations: 0 / 0.9193 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/1.084, allocations: 55.83 MB / 0.9739 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.59, allocations: 10.55 kB / 0.9739 GB, free: 1.996 MB / 0.7325 GB " [Timeout remaining time 644] (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: 19.86359238694422] Failed to read output from testmodel.py, exit status != 0: 15.773928750073537 15.790546222 15.566298149 Calling exit ...