Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLines,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines",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.001354/0.001354, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001762/0.001762, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005333/0.0005335, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7759, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01993/0.7959, allocations: 19.15 MB / 0.9723 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02479/0.8207, allocations: 16.06 MB / 0.988 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003884/0.8246, allocations: 95.38 kB / 0.9881 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.8272, allocations: 0.547 MB / 0.9886 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.8376, allocations: 2.823 MB / 0.9914 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.8412, allocations: 0.9426 MB / 0.9923 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008215/0.8495, allocations: 3.326 MB / 0.9955 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003697/0.8532, allocations: 2.024 MB / 0.9975 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003757/0.857, allocations: 1.713 MB / 0.9992 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003847/0.8609, allocations: 1.759 MB / 1.001 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.8619, allocations: 164 kB / 1.001 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.8644, allocations: 475.4 kB / 1.002 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.8656, allocations: 0.8488 MB / 1.002 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.867, allocations: 0.6873 MB / 1.003 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005812/0.8728, allocations: 3.797 MB / 1.007 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8728, allocations: 0 / 1.007 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8728, allocations: 0 / 1.007 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001594/0.873, allocations: 0 / 1.007 GB, free: 9.621 MB / 0.7637 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.0116/0.8846, allocations: 3.873 MB / 1.01 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 0.000107/0.8848, allocations: 8.031 kB / 1.011 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002542/0.8873, allocations: 358.1 kB / 1.011 GB, free: 5.27 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/0.9048, allocations: 3.397 MB / 1.014 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005325/0.9101, allocations: 1.964 MB / 1.016 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.9104, allocations: 184.6 kB / 1.016 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009732/0.9114, allocations: 232 kB / 1.016 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.9234, allocations: 4.709 MB / 1.021 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.9235, allocations: 0 / 1.021 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003727/0.9238, allocations: 99.98 kB / 1.021 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/0.9241, allocations: 172.8 kB / 1.021 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.9383, allocations: 5.229 MB / 1.026 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.963, allocations: 14.12 MB / 1.04 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.9739, allocations: 3.845 MB / 1.044 GB, free: 1.902 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.9742, allocations: 33.27 kB / 1.044 GB, free: 1.871 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00412/0.9783, allocations: 1.817 MB / 1.046 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=163): time 3.697e-06/0.9783, allocations: 0 / 1.046 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of matching and sorting (n=250): time 0.1277/1.106, allocations: 33.38 MB / 1.078 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003115/1.106, allocations: 0.4889 MB / 1.079 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/1.11, allocations: 2.273 MB / 1.081 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0005695/1.111, allocations: 81.7 kB / 1.081 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/1.112, allocations: 1.434 MB / 1.083 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.113, allocations: 0.8201 MB / 1.083 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/1.113, allocations: 44 kB / 1.083 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002728/1.114, allocations: 402.6 kB / 1.084 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005053/1.119, allocations: 1.925 MB / 1.086 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005579/1.124, allocations: 2.204 MB / 1.088 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005291/1.13, allocations: 2.132 MB / 1.09 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/1.13, allocations: 0 / 1.09 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01619/1.146, allocations: 6.169 MB / 1.096 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.001042/1.147, allocations: 2.451 MB / 1.098 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.147, allocations: 8 kB / 1.098 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006817/1.154, allocations: 1.84 MB / 1.1 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003117/1.157, allocations: 0.589 MB / 1.101 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02484/1.182, allocations: 14.83 MB / 1.115 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004216/1.186, allocations: 399.6 kB / 1.116 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/1.187, allocations: 87.97 kB / 1.116 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.187, allocations: 4 kB / 1.116 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01509/1.202, allocations: 5.757 MB / 1.121 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/1.202, allocations: 8.031 kB / 1.121 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/1.207, allocations: 1.813 MB / 1.123 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/1.211, allocations: 0.6124 MB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/1.233, allocations: 14.06 MB / 1.137 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/1.238, allocations: 407.6 kB / 1.138 GB, free: 312 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/1.239, allocations: 91.97 kB / 1.138 GB, free: 220 kB / 0.8887 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001961/1.241, allocations: 0.7734 MB / 1.139 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007411/1.242, allocations: 328.1 kB / 1.139 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/1.242, allocations: 400.1 kB / 1.139 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/1.242, allocations: 27.94 kB / 1.139 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.537e-05/1.242, allocations: 15.95 kB / 1.139 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/1.242, allocations: 15.89 kB / 1.139 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/1.247, allocations: 3.168 MB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.247, allocations: 4 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/1.25, allocations: 0.515 MB / 1.143 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006619/1.256, allocations: 1.707 MB / 1.145 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004386/1.257, allocations: 51.97 kB / 1.145 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02287/1.28, allocations: 14.61 MB / 1.159 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.28, allocations: 3.938 kB / 1.159 GB, free: 10.26 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.296, allocations: 5.78 MB / 1.165 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002702/1.298, allocations: 0.6648 MB / 1.165 GB, free: 3.758 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.299, allocations: 48 kB / 1.165 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00325/1.303, allocations: 399.6 kB / 1.166 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/1.304, allocations: 306.6 kB / 1.166 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/1.304, allocations: 71.97 kB / 1.166 GB, free: 2.953 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002531/1.306, allocations: 1.509 MB / 1.168 GB, free: 1.445 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.306, allocations: 0.5625 kB / 1.168 GB, free: 1.445 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.005803/1.312, allocations: 1.625 MB / 1.169 GB, free: 15.82 MB / 0.9356 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 (128): * Single equations (assignments): 116 * 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 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.01549/1.328, allocations: 6.419 MB / 1.175 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.02403/1.352, allocations: 10.07 MB / 1.185 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/1.352, allocations: 4 kB / 1.185 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.009013/1.361, allocations: 3.499 MB / 1.189 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/1.366, allocations: 0.9902 MB / 1.19 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05729/1.424, allocations: 29.35 MB / 1.218 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/1.426, allocations: 2.367 MB / 1.221 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003361/1.429, allocations: 0.6309 MB / 1.221 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.431, allocations: 1.335 MB / 1.222 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of SimCode: time 2.966e-06/1.431, allocations: 0 / 1.222 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6828/2.114, allocations: 100.4 MB / 1.321 GB, free: 245.2 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/2.114, allocations: 215.6 kB / 1.321 GB, free: 244.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.087/7.201, allocations: 3.75 kB / 1.321 GB, free: 244.9 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_DCLines.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat does not exist to compare? outputFormat=mat