Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 105.7 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 195.9 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7263/0.7263, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 64.91 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1385, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0247/0.1633, allocations: 22.61 MB / 0.6537 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02541/0.1887, allocations: 17.64 MB / 0.6709 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003932/0.1927, allocations: 115.4 kB / 0.671 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.2041, allocations: 4.166 MB / 0.6751 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.2146, allocations: 3.517 MB / 0.6785 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.2181, allocations: 1.318 MB / 0.6798 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008805/0.2269, allocations: 5.785 MB / 0.6855 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007407/0.2344, allocations: 3.585 MB / 0.689 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005013/0.2394, allocations: 2.48 MB / 0.6914 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005145/0.2446, allocations: 2.452 MB / 0.6938 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001684/0.2463, allocations: 368 kB / 0.6941 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.2495, allocations: 1.037 MB / 0.6951 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.2516, allocations: 1.196 MB / 0.6963 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00455/0.2561, allocations: 1.994 MB / 0.6983 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009665/0.2658, allocations: 5.179 MB / 0.7033 GB, free: 11.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2659, allocations: 0 / 0.7033 GB, free: 11.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2659, allocations: 0 / 0.7033 GB, free: 11.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002206/0.2661, allocations: 0 / 0.7033 GB, free: 11.17 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01326/0.2794, allocations: 4.62 MB / 0.7078 GB, free: 6.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2794, allocations: 8.031 kB / 0.7078 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001183/0.2806, allocations: 366.3 kB / 0.7082 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01644/0.2971, allocations: 3.261 MB / 0.7114 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006196/0.3033, allocations: 2.22 MB / 0.7135 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000488/0.3038, allocations: 470.1 kB / 0.714 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/0.305, allocations: 239.9 kB / 0.7142 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.3181, allocations: 4.806 MB / 0.7189 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.092e-05/0.3182, allocations: 0 / 0.7189 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006655/0.3189, allocations: 112 kB / 0.719 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002226/0.3191, allocations: 168.8 kB / 0.7192 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/0.3343, allocations: 5.194 MB / 0.7243 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02742/0.3617, allocations: 14.4 MB / 0.7383 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.3723, allocations: 3.406 MB / 0.7416 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003972/0.3763, allocations: 1.463 MB / 0.7431 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.3765, allocations: 29.28 kB / 0.7431 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3095/0.6861, allocations: 1.783 MB / 0.7448 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 4.919e-06/0.6861, allocations: 0 / 0.7448 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.1258/0.8119, allocations: 28.24 MB / 0.7724 GB, free: 92.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.8121, allocations: 0.4921 MB / 0.7729 GB, free: 92.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.8149, allocations: 2.297 MB / 0.7751 GB, free: 90.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.8152, allocations: 77.7 kB / 0.7752 GB, free: 90.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008219/0.816, allocations: 1.429 MB / 0.7766 GB, free: 88.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/0.8167, allocations: 0.8247 MB / 0.7774 GB, free: 88.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008452/0.8175, allocations: 412.5 kB / 0.7778 GB, free: 87.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.8176, allocations: 301.1 kB / 0.7781 GB, free: 87.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004691/0.8223, allocations: 1.933 MB / 0.78 GB, free: 85.37 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/0.827, allocations: 2.229 MB / 0.7822 GB, free: 83.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009076/0.8361, allocations: 4.161 MB / 0.7862 GB, free: 78.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.8362, allocations: 4 kB / 0.7862 GB, free: 78.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01632/0.8525, allocations: 6.535 MB / 0.7926 GB, free: 72.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.8526, allocations: 150.4 kB / 0.7928 GB, free: 71.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.8526, allocations: 5.406 kB / 0.7928 GB, free: 71.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008847/0.8615, allocations: 2.932 MB / 0.7956 GB, free: 69.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.8641, allocations: 483.2 kB / 0.7961 GB, free: 68.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0332/0.8973, allocations: 18.85 MB / 0.8145 GB, free: 49.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004091/0.9015, allocations: 319.6 kB / 0.8148 GB, free: 49.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005219/0.902, allocations: 91.97 kB / 0.8149 GB, free: 49.09 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001556/0.9036, allocations: 0.7145 MB / 0.8156 GB, free: 48.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007406/0.9043, allocations: 328.1 kB / 0.8159 GB, free: 48.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000779/0.9051, allocations: 384.1 kB / 0.8163 GB, free: 47.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.9051, allocations: 24 kB / 0.8163 GB, free: 47.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.721e-05/0.9052, allocations: 12 kB / 0.8163 GB, free: 47.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.9052, allocations: 12.56 kB / 0.8163 GB, free: 47.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004167/0.9094, allocations: 3.63 MB / 0.8198 GB, free: 44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.9094, allocations: 0 / 0.8198 GB, free: 44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/0.9117, allocations: 423.3 kB / 0.8203 GB, free: 43.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008482/0.9202, allocations: 2.866 MB / 0.8231 GB, free: 40.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003656/0.9206, allocations: 47.97 kB / 0.8231 GB, free: 40.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03346/0.954, allocations: 18.62 MB / 0.8413 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9541, allocations: 4 kB / 0.8413 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/0.97, allocations: 6.169 MB / 0.8473 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/0.9722, allocations: 0.6962 MB / 0.848 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/0.9733, allocations: 51.92 kB / 0.848 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/0.9769, allocations: 311.6 kB / 0.8483 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/0.9782, allocations: 354.7 kB / 0.8487 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003021/0.9785, allocations: 67.97 kB / 0.8487 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002381/0.9809, allocations: 1.536 MB / 0.8502 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9809, allocations: 0 / 0.8502 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00307/0.984, allocations: 1.043 MB / 0.8513 GB, free: 11.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01685/1.001, allocations: 6.802 MB / 0.8579 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02259/1.023, allocations: 6.484 MB / 0.8642 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.188e-06/1.024, allocations: 4.188 kB / 0.8642 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01808/1.042, allocations: 4.041 MB / 0.8682 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005688/1.047, allocations: 1.146 MB / 0.8693 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07695/1.124, allocations: 31.84 MB / 0.9004 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/1.127, allocations: 2.231 MB / 0.9026 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00249/1.13, allocations: 0.5108 MB / 0.9031 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001908/1.132, allocations: 1.339 MB / 0.9044 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of SimCode: time 6.71e-07/1.132, allocations: 0 / 0.9044 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.184/1.316, allocations: 104.9 MB / 1.007 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.6/19.92, allocations: 7.875 kB / 1.007 GB, free: 12.67 MB / 0.7325 GB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)