Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001416/0.001417, allocations: 99.62 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.001867/0.001868, allocations: 177.3 kB / 15.95 MB, free: 216 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.374/2.374, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.051/4.051, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006553/0.0006555, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611/1.612, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3001/1.912, allocations: 125.4 MB / 1.103 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007679/1.92, allocations: 3.968 MB / 1.107 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/1.92, allocations: 11.94 kB / 1.107 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004008/1.921, allocations: 47.67 kB / 1.107 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006427/1.921, allocations: 127.6 kB / 1.107 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/1.921, allocations: 55.89 kB / 1.107 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007519/1.922, allocations: 243.4 kB / 1.108 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/1.923, allocations: 118.4 kB / 1.108 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/1.923, allocations: 75.66 kB / 1.108 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/1.923, allocations: 111.5 kB / 1.108 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/1.923, allocations: 4 kB / 1.108 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.361e-05/1.923, allocations: 8 kB / 1.108 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/1.923, allocations: 43.84 kB / 1.108 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/1.923, allocations: 65.58 kB / 1.108 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/1.924, allocations: 169.8 kB / 1.108 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.924, allocations: 0 / 1.108 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.877e-06/1.924, allocations: 0 / 1.108 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.015e-06/1.924, allocations: 0 / 1.108 GB, free: 3.555 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007801/1.925, allocations: 447.1 kB / 1.109 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.402e-05/1.925, allocations: 12.03 kB / 1.109 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/1.925, allocations: 58.53 kB / 1.109 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.321e-05/1.925, allocations: 27.72 kB / 1.109 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/1.925, allocations: 255.8 kB / 1.109 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/1.926, allocations: 20.44 kB / 1.109 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/1.926, allocations: 24 kB / 1.109 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/1.926, allocations: 296.9 kB / 1.109 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.926, allocations: 3.938 kB / 1.109 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/1.926, allocations: 12 kB / 1.109 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/1.926, allocations: 8 kB / 1.109 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/1.927, allocations: 119.7 kB / 1.109 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/1.929, allocations: 1.977 MB / 1.111 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/1.93, allocations: 169.1 kB / 1.112 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.179e-05/1.93, allocations: 75.28 kB / 1.112 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.148e-05/1.93, allocations: 113.8 kB / 1.112 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 2.355e-06/1.93, allocations: 0 / 1.112 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0001655/1.93, allocations: 53.38 kB / 1.112 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.93, allocations: 126.7 kB / 1.112 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/1.931, allocations: 332.5 kB / 1.112 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/1.931, allocations: 33.64 kB / 1.112 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/1.931, allocations: 155.7 kB / 1.112 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/1.931, allocations: 4 kB / 1.112 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/1.931, allocations: 0 / 1.112 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002741/1.931, allocations: 338.8 kB / 1.113 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/1.931, allocations: 11.98 kB / 1.113 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/1.931, allocations: 54.86 kB / 1.113 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.587e-05/1.931, allocations: 16 kB / 1.113 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.931, allocations: 0 / 1.113 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003199/1.932, allocations: 105.2 kB / 1.113 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/1.932, allocations: 4.25 kB / 1.113 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.932, allocations: 8 kB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.932, allocations: 0 / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.932, allocations: 19.89 kB / 1.113 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/1.932, allocations: 7.984 kB / 1.113 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/1.932, allocations: 27.69 kB / 1.113 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/1.932, allocations: 4 kB / 1.113 GB, free: 14.34 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002878/1.933, allocations: 209.1 kB / 1.113 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/1.933, allocations: 128.6 kB / 1.113 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/1.933, allocations: 126 kB / 1.113 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001824/1.933, allocations: 176.3 kB / 1.114 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001505/1.933, allocations: 188.2 kB / 1.114 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001417/1.933, allocations: 176.3 kB / 1.114 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/1.934, allocations: 481.1 kB / 1.114 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.754e-05/1.934, allocations: 105 kB / 1.114 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/1.934, allocations: 109 kB / 1.115 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/1.934, allocations: 188.1 kB / 1.115 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.935, allocations: 176.3 kB / 1.115 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001475/1.935, allocations: 184.2 kB / 1.115 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001354/1.935, allocations: 180.3 kB / 1.115 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/1.935, allocations: 335.4 kB / 1.116 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/1.935, allocations: 201.8 kB / 1.116 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/1.936, allocations: 184.2 kB / 1.116 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.936, allocations: 105 kB / 1.116 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/1.936, allocations: 184.2 kB / 1.116 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/1.936, allocations: 104.9 kB / 1.116 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004391/1.937, allocations: 239 kB / 1.117 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/1.937, allocations: 0 / 1.117 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004894/1.937, allocations: 31.89 kB / 1.117 GB, free: 10.39 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/1.938, allocations: 0.8319 MB / 1.117 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002259/1.939, allocations: 27.92 kB / 1.117 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.939, allocations: 0 / 1.117 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-06/1.939, allocations: 0 / 1.117 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/1.94, allocations: 0.5886 MB / 1.118 GB, free: 8.906 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/1.944, allocations: 2.318 MB / 1.12 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/1.945, allocations: 0.7521 MB / 1.121 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001788/1.945, allocations: 22.3 kB / 1.121 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/1.945, allocations: 63.41 kB / 1.121 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of SimCode: time 2.374e-06/1.945, allocations: 4 kB / 1.121 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/1.979, allocations: 4.438 MB / 1.125 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005734/1.98, allocations: 192.5 kB / 1.126 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/4.909, allocations: 0 / 1.126 GB, free: 1.16 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat does not exist to compare? outputFormat=mat