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.001318/0.001318, allocations: 106.5 kB / 16.4 MB, free: 6.023 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.00114/0.00114, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6722/0.6722, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 64.95 kB / 0.5572 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1172, allocations: 76.17 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02352/0.1408, allocations: 22.6 MB / 0.6537 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02193/0.1628, allocations: 17.64 MB / 0.6709 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.1654, allocations: 115.4 kB / 0.671 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.1756, allocations: 4.17 MB / 0.6751 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.1858, allocations: 3.593 MB / 0.6786 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.1891, allocations: 1.308 MB / 0.6799 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006499/0.1956, allocations: 5.792 MB / 0.6855 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003809/0.1994, allocations: 3.593 MB / 0.689 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.2022, allocations: 2.48 MB / 0.6915 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.2048, allocations: 2.452 MB / 0.6939 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004308/0.2053, allocations: 372 kB / 0.6942 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.2068, allocations: 1.037 MB / 0.6952 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008572/0.2077, allocations: 1.192 MB / 0.6964 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.2093, allocations: 1.998 MB / 0.6983 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.2134, allocations: 5.175 MB / 0.7034 GB, free: 11.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2134, allocations: 4 kB / 0.7034 GB, free: 11.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2134, allocations: 0 / 0.7034 GB, free: 11.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.269e-05/0.2135, allocations: 0 / 0.7034 GB, free: 11.05 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.008083/0.2215, allocations: 4.609 MB / 0.7079 GB, free: 6.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2216, allocations: 12.03 kB / 0.7079 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003921/0.222, allocations: 362.3 kB / 0.7083 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/0.2359, allocations: 3.269 MB / 0.7115 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.2392, allocations: 2.224 MB / 0.7136 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003224/0.2395, allocations: 478 kB / 0.7141 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/0.2399, allocations: 228 kB / 0.7143 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008794/0.2487, allocations: 4.814 MB / 0.719 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.26e-05/0.2488, allocations: 4 kB / 0.719 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/0.2491, allocations: 104 kB / 0.7191 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/0.2492, allocations: 176.8 kB / 0.7193 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.2601, allocations: 5.191 MB / 0.7243 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01581/0.2759, allocations: 14.39 MB / 0.7384 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008224/0.2842, allocations: 3.402 MB / 0.7417 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/0.2873, allocations: 1.463 MB / 0.7431 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.2874, allocations: 25.28 kB / 0.7432 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2457/0.5332, allocations: 1.783 MB / 0.7449 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=163): time 4.077e-06/0.5332, allocations: 0.6562 kB / 0.7449 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=250): time 0.1013/0.6345, allocations: 28.24 MB / 0.7725 GB, free: 92.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.6346, allocations: 0.4917 MB / 0.773 GB, free: 92.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.6366, allocations: 2.3 MB / 0.7752 GB, free: 90.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.6368, allocations: 73.7 kB / 0.7753 GB, free: 90.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006854/0.6375, allocations: 1.436 MB / 0.7767 GB, free: 88.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005708/0.6381, allocations: 0.82 MB / 0.7775 GB, free: 88.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006868/0.6387, allocations: 408.5 kB / 0.7779 GB, free: 87.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.069e-05/0.6388, allocations: 309.1 kB / 0.7782 GB, free: 87.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003793/0.6426, allocations: 1.925 MB / 0.7801 GB, free: 85.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/0.6467, allocations: 2.237 MB / 0.7822 GB, free: 83.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007615/0.6543, allocations: 4.158 MB / 0.7863 GB, free: 78.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-05/0.6544, allocations: 4 kB / 0.7863 GB, free: 78.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01395/0.6683, allocations: 6.53 MB / 0.7927 GB, free: 72.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.6684, allocations: 152.5 kB / 0.7928 GB, free: 71.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6684, allocations: 4 kB / 0.7928 GB, free: 71.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008099/0.6765, allocations: 2.93 MB / 0.7957 GB, free: 69.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.6787, allocations: 488.1 kB / 0.7962 GB, free: 68.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02992/0.7087, allocations: 18.84 MB / 0.8146 GB, free: 49.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/0.7118, allocations: 319.7 kB / 0.8149 GB, free: 49.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003934/0.7122, allocations: 92.69 kB / 0.815 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.001111/0.7133, allocations: 0.7116 MB / 0.8156 GB, free: 48.37 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005425/0.7138, allocations: 336.1 kB / 0.816 GB, free: 48.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000651/0.7145, allocations: 380.1 kB / 0.8163 GB, free: 47.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.7146, allocations: 24 kB / 0.8164 GB, free: 47.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.024e-05/0.7146, allocations: 8.75 kB / 0.8164 GB, free: 47.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.7146, allocations: 11.95 kB / 0.8164 GB, free: 47.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.7181, allocations: 3.628 MB / 0.8199 GB, free: 44.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.7181, allocations: 8.656 kB / 0.8199 GB, free: 44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/0.7201, allocations: 417.6 kB / 0.8203 GB, free: 43.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007988/0.7281, allocations: 2.875 MB / 0.8231 GB, free: 40.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002024/0.7283, allocations: 47.98 kB / 0.8232 GB, free: 40.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02999/0.7583, allocations: 18.62 MB / 0.8414 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7583, allocations: 0 / 0.8414 GB, free: 21.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/0.7727, allocations: 6.173 MB / 0.8474 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.7741, allocations: 0.6922 MB / 0.8481 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/0.7746, allocations: 51.92 kB / 0.8481 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/0.7773, allocations: 314.8 kB / 0.8484 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009839/0.7783, allocations: 358.7 kB / 0.8488 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/0.7785, allocations: 67.97 kB / 0.8488 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001599/0.7801, allocations: 1.54 MB / 0.8503 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7801, allocations: 3.938 kB / 0.8503 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00215/0.7822, allocations: 1.047 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.01367/0.7959, allocations: 6.797 MB / 0.858 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01852/0.8144, allocations: 6.477 MB / 0.8643 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/0.8145, allocations: 4 kB / 0.8643 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01465/0.8291, allocations: 4.046 MB / 0.8683 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.004652/0.8338, allocations: 1.134 MB / 0.8694 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06481/0.8986, allocations: 31.85 MB / 0.9005 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00248/0.9012, allocations: 2.231 MB / 0.9027 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002131/0.9033, allocations: 0.5084 MB / 0.9032 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/0.9051, allocations: 1.339 MB / 0.9045 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of SimCode: time 9.31e-07/0.9051, allocations: 3.938 kB / 0.9045 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1504/1.056, allocations: 102.7 MB / 1.005 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.56/18.62, allocations: 7.219 kB / 1.005 GB, free: 14.88 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)