Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.766/1.766, allocations: 287.4 MB / 302.6 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 185.2 kB / 371.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 96.84 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005688/0.0005689, allocations: 11.75 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.254, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0164/0.2705, allocations: 20.27 MB / 0.9985 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.2939, allocations: 16.5 MB / 1.015 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003863/0.2979, allocations: 103.4 kB / 1.015 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00291/0.3009, allocations: 0.5579 MB / 1.015 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.313, allocations: 2.87 MB / 1.018 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.3168, allocations: 0.9568 MB / 1.019 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009878/0.3267, allocations: 5.955 MB / 1.025 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005544/0.3323, allocations: 2.558 MB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/0.3371, allocations: 1.965 MB / 1.029 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005523/0.3427, allocations: 2.214 MB / 1.031 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.344, allocations: 176 kB / 1.032 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.3469, allocations: 0.4955 MB / 1.032 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.3484, allocations: 0.9536 MB / 1.033 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.35, allocations: 0.6912 MB / 1.034 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00569/0.3557, allocations: 3.927 MB / 1.037 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3558, allocations: 0 / 1.037 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3558, allocations: 0 / 1.037 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001806/0.356, allocations: 0 / 1.037 GB, free: 15.64 MB / 0.6667 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.01115/0.3671, allocations: 4.072 MB / 1.041 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.3672, allocations: 12.03 kB / 1.041 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001281/0.3685, allocations: 370.3 kB / 1.042 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.3843, allocations: 3.367 MB / 1.045 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.3895, allocations: 2.08 MB / 1.047 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005208/0.39, allocations: 474 kB / 1.048 GB, free: 5.02 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001045/0.3911, allocations: 236 kB / 1.048 GB, free: 4.789 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.4032, allocations: 4.849 MB / 1.053 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.768e-05/0.4034, allocations: 4 kB / 1.053 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006835/0.404, allocations: 104 kB / 1.053 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/0.4043, allocations: 168.8 kB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.4194, allocations: 5.304 MB / 1.058 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5328/0.9522, allocations: 14.6 MB / 1.072 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0121/0.9644, allocations: 3.675 MB / 1.076 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004998/0.9694, allocations: 1.588 MB / 1.077 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.9697, allocations: 22.31 kB / 1.077 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005796/0.9755, allocations: 1.914 MB / 1.079 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5.29e-06/0.9755, allocations: 0 / 1.079 GB, free: 77.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.14/1.116, allocations: 34.12 MB / 1.113 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/1.116, allocations: 0.489 MB / 1.113 GB, free: 67.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003981/1.12, allocations: 2.274 MB / 1.115 GB, free: 65.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000612/1.12, allocations: 76.48 kB / 1.115 GB, free: 65.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.122, allocations: 1.428 MB / 1.117 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/1.123, allocations: 0.818 MB / 1.118 GB, free: 63.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/1.123, allocations: 50.94 kB / 1.118 GB, free: 63.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.123, allocations: 400.6 kB / 1.118 GB, free: 63.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005481/1.129, allocations: 2.11 MB / 1.12 GB, free: 61.83 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005672/1.135, allocations: 2.407 MB / 1.122 GB, free: 59.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/1.145, allocations: 4.521 MB / 1.127 GB, free: 54.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.145, allocations: 4 kB / 1.127 GB, free: 54.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01872/1.164, allocations: 6.892 MB / 1.134 GB, free: 47.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.164, allocations: 154.8 kB / 1.134 GB, free: 47.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/1.164, allocations: 8 kB / 1.134 GB, free: 47.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009611/1.173, allocations: 2.942 MB / 1.137 GB, free: 44.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/1.176, allocations: 0.5749 MB / 1.137 GB, free: 43.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03614/1.213, allocations: 17.32 MB / 1.154 GB, free: 26.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/1.217, allocations: 419.6 kB / 1.154 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006766/1.218, allocations: 87.97 kB / 1.155 GB, free: 25.98 MB / 0.6823 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002512/1.221, allocations: 0.7066 MB / 1.155 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.222, allocations: 336 kB / 1.156 GB, free: 24.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/1.223, allocations: 384.1 kB / 1.156 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.223, allocations: 24 kB / 1.156 GB, free: 24.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-05/1.223, allocations: 12 kB / 1.156 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/1.223, allocations: 11.95 kB / 1.156 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005248/1.228, allocations: 3.621 MB / 1.16 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/1.228, allocations: 0.875 kB / 1.16 GB, free: 20.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/1.231, allocations: 0.4954 MB / 1.16 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009391/1.24, allocations: 2.878 MB / 1.163 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005758/1.241, allocations: 55.91 kB / 1.163 GB, free: 17.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03663/1.277, allocations: 17.1 MB / 1.18 GB, free: 76 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.278, allocations: 0 / 1.18 GB, free: 76 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.298, allocations: 6.53 MB / 1.186 GB, free: 9.516 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003044/1.301, allocations: 0.7038 MB / 1.187 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/1.303, allocations: 48 kB / 1.187 GB, free: 8.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004479/1.307, allocations: 411.6 kB / 1.187 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/1.309, allocations: 365.4 kB / 1.187 GB, free: 7.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004501/1.309, allocations: 67.97 kB / 1.187 GB, free: 7.922 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003228/1.313, allocations: 1.517 MB / 1.189 GB, free: 6.406 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/1.313, allocations: 0 / 1.189 GB, free: 6.406 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005004/1.318, allocations: 1.043 MB / 1.19 GB, free: 5.363 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.02104/1.339, allocations: 7.156 MB / 1.197 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0244/1.363, allocations: 6.836 MB / 1.204 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.363, allocations: 4 kB / 1.204 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01829/1.382, allocations: 4.224 MB / 1.208 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007805/1.389, allocations: 1.029 MB / 1.209 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07392/1.463, allocations: 27.17 MB / 1.235 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00313/1.467, allocations: 2.227 MB / 1.237 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003331/1.47, allocations: 0.5099 MB / 1.238 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/1.472, allocations: 1.335 MB / 1.239 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/1.472, allocations: 0 / 1.239 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1686/1.641, allocations: 96.53 MB / 1.334 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/1.641, allocations: 224.5 kB / 1.334 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.643/7.284, allocations: 0 / 1.334 GB, free: 1.328 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)