Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.DCLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine",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.001678/0.001678, 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.002482/0.002482, 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 2.625/2.625, 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 10.0.0-master/package.mo): time 4.496/4.496, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006432/0.0006436, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353/1.354, allocations: 146.8 MB / 0.9809 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01922/1.373, allocations: 5.346 MB / 0.9861 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01288/1.386, allocations: 4.121 MB / 0.9901 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009982/1.387, allocations: 19.88 kB / 0.9901 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008694/1.388, allocations: 139.2 kB / 0.9903 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/1.392, allocations: 0.6114 MB / 0.9909 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/1.394, allocations: 242.4 kB / 0.9911 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002255/1.396, allocations: 0.6742 MB / 0.9917 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/1.398, allocations: 492.4 kB / 0.9922 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/1.399, allocations: 346.7 kB / 0.9925 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/1.4, allocations: 362.6 kB / 0.9929 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/1.4, allocations: 32 kB / 0.9929 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007897/1.401, allocations: 139.8 kB / 0.9931 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/1.401, allocations: 191.4 kB / 0.9932 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/1.401, allocations: 165.3 kB / 0.9934 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/1.403, allocations: 0.8009 MB / 0.9942 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.403, allocations: 0 / 0.9942 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.976e-06/1.403, allocations: 7.938 kB / 0.9942 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.463e-05/1.403, allocations: 0 / 0.9942 GB, free: 8.602 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003274/1.406, allocations: 0.9736 MB / 0.9951 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/1.406, allocations: 8.031 kB / 0.9951 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000244/1.407, allocations: 106.5 kB / 0.9952 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006723/1.413, allocations: 0.6582 MB / 0.9959 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/1.415, allocations: 0.5182 MB / 0.9964 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/1.415, allocations: 41.31 kB / 0.9964 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/1.416, allocations: 55.94 kB / 0.9965 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004285/1.42, allocations: 1.018 MB / 0.9975 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/1.42, allocations: 0 / 0.9975 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/1.42, allocations: 24 kB / 0.9975 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/1.42, allocations: 45.28 kB / 0.9975 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005093/1.425, allocations: 1.012 MB / 0.9985 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008278/1.434, allocations: 3.513 MB / 1.002 GB, free: 180 kB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/1.436, allocations: 0.5143 MB / 1.002 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/1.436, allocations: 7.984 kB / 1.002 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/1.436, allocations: 38.56 kB / 1.003 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=31): time 4.679e-06/1.436, allocations: 0 / 1.003 GB, free: 15.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=43): time 0.01065/1.447, allocations: 2.229 MB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/1.447, allocations: 59.39 kB / 1.005 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.448, allocations: 0.5549 MB / 1.005 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/1.449, allocations: 37.7 kB / 1.005 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004868/1.449, allocations: 360.1 kB / 1.006 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/1.449, allocations: 149.8 kB / 1.006 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/1.449, allocations: 8 kB / 1.006 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000263/1.45, allocations: 374.7 kB / 1.006 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/1.451, allocations: 272.9 kB / 1.006 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.452, allocations: 385.8 kB / 1.007 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.453, allocations: 305.7 kB / 1.007 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/1.453, allocations: 4 kB / 1.007 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004022/1.457, allocations: 0.9744 MB / 1.008 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001176/1.458, allocations: 1.229 MB / 1.009 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/1.458, allocations: 4 kB / 1.009 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/1.46, allocations: 284.7 kB / 1.01 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/1.461, allocations: 127.8 kB / 1.01 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/1.474, allocations: 8.558 MB / 1.018 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/1.476, allocations: 51.95 kB / 1.018 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.151e-05/1.476, allocations: 20.06 kB / 1.018 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.476, allocations: 4 kB / 1.018 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004775/1.481, allocations: 1.078 MB / 1.019 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.481, allocations: 7.984 kB / 1.019 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/1.483, allocations: 229.2 kB / 1.019 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.484, allocations: 127.8 kB / 1.019 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/1.498, allocations: 8.231 MB / 1.028 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.5, allocations: 51.95 kB / 1.028 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.687e-05/1.5, allocations: 20.06 kB / 1.028 GB, free: 3.977 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001071/1.501, allocations: 313 kB / 1.028 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/1.501, allocations: 67.16 kB / 1.028 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/1.501, allocations: 78.38 kB / 1.028 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.501, allocations: 4 kB / 1.028 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.501, allocations: 288 / 1.028 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/1.502, allocations: 7.984 kB / 1.028 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/1.503, allocations: 0.6494 MB / 1.029 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.503, allocations: 0 / 1.029 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/1.504, allocations: 107.8 kB / 1.029 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001829/1.506, allocations: 260.8 kB / 1.029 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/1.506, allocations: 12 kB / 1.029 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/1.521, allocations: 8.502 MB / 1.037 GB, free: 9.109 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.521, allocations: 4 kB / 1.037 GB, free: 9.105 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004983/1.526, allocations: 0.9521 MB / 1.038 GB, free: 8.117 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/1.527, allocations: 184.3 kB / 1.038 GB, free: 7.918 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.527, allocations: 15.94 kB / 1.038 GB, free: 7.902 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/1.528, allocations: 47.95 kB / 1.039 GB, free: 7.855 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/1.528, allocations: 39.94 kB / 1.039 GB, free: 7.816 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/1.528, allocations: 8 kB / 1.039 GB, free: 7.809 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00108/1.529, allocations: 407 kB / 1.039 GB, free: 7.418 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.01e-07/1.529, allocations: 0 / 1.039 GB, free: 7.418 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002308/1.532, allocations: 304 kB / 1.039 GB, free: 7.121 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005106/1.537, allocations: 1.513 MB / 1.041 GB, free: 5.562 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008077/1.545, allocations: 2.414 MB / 1.043 GB, free: 2.992 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.545, allocations: 0 / 1.043 GB, free: 2.992 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002967/1.548, allocations: 1.019 MB / 1.044 GB, free: 1.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/1.55, allocations: 206.9 kB / 1.044 GB, free: 1.695 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.568, allocations: 6.285 MB / 1.05 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.569, allocations: 1.001 MB / 1.051 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001426/1.571, allocations: 149.4 kB / 1.052 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/1.571, allocations: 239.3 kB / 1.052 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of SimCode: time 1.293e-06/1.571, allocations: 0 / 1.052 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/1.688, allocations: 18.37 MB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003852/1.689, allocations: 211.9 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.516/6.205, allocations: 0 / 1.07 GB, free: 7.57 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Lines_Examples_DCLine.fmu > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine_res.mat does not exist to compare? outputFormat=mat