Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008118/0.0008118, allocations: 99.78 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.0008297/0.0008296, 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.177/1.177, allocations: 223.2 MB / 239.9 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001629/0.001629, allocations: 270.8 kB / 291.2 MB, free: 1.793 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7184/0.7184, allocations: 144.6 MB / 487 MB, free: 7.223 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 19.23 kB / 0.5683 GB, free: 38.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.119, allocations: 83.08 MB / 0.6494 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1159/0.2349, allocations: 125.4 MB / 0.7719 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003547/0.2385, allocations: 3.968 MB / 0.7757 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.2387, allocations: 4 kB / 0.7757 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.2388, allocations: 55.61 kB / 0.7758 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.2391, allocations: 127.6 kB / 0.7759 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001058/0.2392, allocations: 47.95 kB / 0.776 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.2396, allocations: 255.4 kB / 0.7762 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.2398, allocations: 102.4 kB / 0.7763 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.2399, allocations: 83.64 kB / 0.7764 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.2401, allocations: 111.5 kB / 0.7765 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2401, allocations: 4 kB / 0.7765 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.2401, allocations: 4 kB / 0.7765 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.2402, allocations: 43.84 kB / 0.7765 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.2402, allocations: 57.64 kB / 0.7766 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.2404, allocations: 175.8 kB / 0.7768 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.2404, allocations: 0 / 0.7768 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2404, allocations: 0 / 0.7768 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2404, allocations: 0 / 0.7768 GB, free: 0.9648 MB / 0.5606 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.0003522/0.2408, allocations: 455 kB / 0.7772 GB, free: 484 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.2408, allocations: 8.031 kB / 0.7772 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.2409, allocations: 31.67 kB / 0.7772 GB, free: 444 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.2411, allocations: 254.6 kB / 0.7775 GB, free: 148 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2411, allocations: 16.44 kB / 0.7775 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.2412, allocations: 20 kB / 0.7775 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2126/0.4537, allocations: 292.2 kB / 0.7778 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4538, allocations: 1.375 kB / 0.7778 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.4538, allocations: 11.69 kB / 0.7778 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.4538, allocations: 9.828 kB / 0.7778 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.454, allocations: 128.8 kB / 0.7779 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.4548, allocations: 1.963 MB / 0.7799 GB, free: 129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.399e-05/0.4548, allocations: 171.4 kB / 0.78 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.4549, allocations: 78.91 kB / 0.7801 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.4549, allocations: 113.8 kB / 0.7802 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.4549, allocations: 0.6562 kB / 0.7802 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.453e-05/0.455, allocations: 50.48 kB / 0.7803 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.455, allocations: 127.3 kB / 0.7804 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.4552, allocations: 328.1 kB / 0.7807 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-06/0.4552, allocations: 27.48 kB / 0.7807 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.4553, allocations: 166.3 kB / 0.7809 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.4553, allocations: 3.406 kB / 0.7809 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-06/0.4553, allocations: 3.562 kB / 0.7809 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.4554, allocations: 333.2 kB / 0.7812 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.4554, allocations: 11.69 kB / 0.7812 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.4554, allocations: 55.56 kB / 0.7813 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.4555, allocations: 18.17 kB / 0.7813 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4555, allocations: 4.141 kB / 0.7813 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001313/0.4556, allocations: 106.3 kB / 0.7814 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4556, allocations: 7.062 kB / 0.7814 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4556, allocations: 7.203 kB / 0.7814 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.4557, allocations: 1.875 kB / 0.7814 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.4557, allocations: 12.28 kB / 0.7814 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4557, allocations: 10.73 kB / 0.7814 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.4558, allocations: 24.66 kB / 0.7814 GB, free: 127.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.4558, allocations: 3.625 kB / 0.7814 GB, free: 127.8 MB / 0.5606 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 6.854e-05/0.4559, allocations: 209.4 kB / 0.7816 GB, free: 127.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.4559, allocations: 132 kB / 0.7818 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.456, allocations: 125 kB / 0.7819 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.456, allocations: 180.8 kB / 0.7821 GB, free: 127.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.456, allocations: 192.1 kB / 0.7822 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.456, allocations: 177.4 kB / 0.7824 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.4562, allocations: 474.6 kB / 0.7829 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.4562, allocations: 104.3 kB / 0.783 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.121e-05/0.4562, allocations: 107.1 kB / 0.7831 GB, free: 126.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.716e-05/0.4563, allocations: 185.2 kB / 0.7832 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.4563, allocations: 181.7 kB / 0.7834 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/0.4563, allocations: 181.8 kB / 0.7836 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/0.4563, allocations: 184.2 kB / 0.7838 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.618e-05/0.4564, allocations: 327.6 kB / 0.7841 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.4564, allocations: 208.5 kB / 0.7843 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.4565, allocations: 183.3 kB / 0.7845 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.4566, allocations: 103.7 kB / 0.7846 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.4566, allocations: 180.7 kB / 0.7847 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4566, allocations: 108.5 kB / 0.7848 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000156/0.4568, allocations: 236.2 kB / 0.7851 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4568, allocations: 0 / 0.7851 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002332/0.457, allocations: 29.88 kB / 0.7851 GB, free: 124.2 MB / 0.5606 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 6.7e-05/0.4571, allocations: 173.8 kB / 0.7853 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.559e-05/0.4571, allocations: 23.36 kB / 0.7853 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4572, allocations: 2.812 kB / 0.7853 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.4572, allocations: 2.562 kB / 0.7853 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.4576, allocations: 0.5931 MB / 0.7859 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.458, allocations: 459 kB / 0.7863 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.4582, allocations: 0.7482 MB / 0.787 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.314e-05/0.4582, allocations: 29.72 kB / 0.7871 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.4583, allocations: 18.91 kB / 0.7871 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4583, allocations: 0 / 0.7871 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.004011/0.4623, allocations: 2.169 MB / 0.7892 GB, free: 122.4 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) Environment - environmentSimulation: