Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 106.9 kB / 16.35 MB, free: 5.824 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.001013/0.001013, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.002019, allocations: 296.5 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.918/0.918, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 91.14 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1584, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4826/0.641, allocations: 174 MB / 0.8516 GB, free: 436 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008091/0.6491, allocations: 9.507 MB / 0.8609 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.6494, allocations: 11.94 kB / 0.8609 GB, free: 6.875 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006161/0.6501, allocations: 190.7 kB / 0.861 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.6503, allocations: 91.3 kB / 0.8611 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.6504, allocations: 67.92 kB / 0.8612 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.6508, allocations: 330.6 kB / 0.8615 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.6511, allocations: 196.9 kB / 0.8617 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.6514, allocations: 171.4 kB / 0.8619 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.6515, allocations: 123.4 kB / 0.862 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.6516, allocations: 24 kB / 0.862 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 3.068e-05/0.6516, allocations: 20 kB / 0.862 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.6517, allocations: 79.75 kB / 0.8621 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.6518, allocations: 127.3 kB / 0.8622 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.652, allocations: 293.5 kB / 0.8625 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.652, allocations: 3.984 kB / 0.8625 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6521, allocations: 0 / 0.8625 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6521, allocations: 0 / 0.8625 GB, free: 5.191 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004624/0.6525, allocations: 0.5074 MB / 0.863 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.6526, allocations: 8.031 kB / 0.863 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.6526, allocations: 31.66 kB / 0.863 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.653, allocations: 287.4 kB / 0.8633 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.653, allocations: 20.56 kB / 0.8633 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.653, allocations: 24 kB / 0.8634 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.6534, allocations: 319.9 kB / 0.8637 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6535, allocations: 0 / 0.8637 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.6535, allocations: 19.98 kB / 0.8637 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.6535, allocations: 8 kB / 0.8637 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.6537, allocations: 143.7 kB / 0.8638 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.6549, allocations: 1.812 MB / 0.8656 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.655, allocations: 185.1 kB / 0.8658 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.655, allocations: 80.14 kB / 0.8658 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.655, allocations: 75.28 kB / 0.8659 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.6551, allocations: 113.8 kB / 0.866 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.6551, allocations: 0 / 0.866 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 7.393e-05/0.6552, allocations: 49.42 kB / 0.8661 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.6552, allocations: 130.7 kB / 0.8662 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.6556, allocations: 373.7 kB / 0.8666 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.6556, allocations: 25.7 kB / 0.8666 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.6557, allocations: 175.7 kB / 0.8667 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.6557, allocations: 0 / 0.8667 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.6558, allocations: 17.72 kB / 0.8668 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6559, allocations: 338.8 kB / 0.8671 GB, free: 200 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.6559, allocations: 0 / 0.8671 GB, free: 200 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.6559, allocations: 44.28 kB / 0.8671 GB, free: 140 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.656, allocations: 41.11 kB / 0.8672 GB, free: 84 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.656, allocations: 4 kB / 0.8672 GB, free: 80 kB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001441/0.6561, allocations: 97.16 kB / 0.8673 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.6562, allocations: 6.188 kB / 0.8673 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6562, allocations: 4 kB / 0.8673 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.6562, allocations: 0 / 0.8673 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.067e-05/0.6562, allocations: 8 kB / 0.8673 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.6563, allocations: 0 / 0.8673 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.6563, allocations: 28.28 kB / 0.8673 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.6564, allocations: 8.156 kB / 0.8673 GB, free: 15.93 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.6565, allocations: 217 kB / 0.8675 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.6565, allocations: 132.6 kB / 0.8676 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.6566, allocations: 131 kB / 0.8678 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.351e-05/0.6567, allocations: 180.2 kB / 0.8679 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.232e-05/0.6567, allocations: 176.3 kB / 0.8681 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/0.6568, allocations: 184.3 kB / 0.8683 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.6571, allocations: 494.2 kB / 0.8688 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-05/0.6571, allocations: 105 kB / 0.8689 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.6572, allocations: 112.9 kB / 0.869 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.686e-05/0.6573, allocations: 176.3 kB / 0.8691 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.6573, allocations: 184.3 kB / 0.8693 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-05/0.6574, allocations: 184.4 kB / 0.8695 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.885e-05/0.6574, allocations: 184.2 kB / 0.8697 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.6576, allocations: 331.4 kB / 0.87 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6577, allocations: 222.4 kB / 0.8702 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.6578, allocations: 176.3 kB / 0.8704 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.6579, allocations: 101 kB / 0.8705 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.6579, allocations: 188.2 kB / 0.8706 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.658, allocations: 105 kB / 0.8707 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002314/0.6582, allocations: 267.2 kB / 0.871 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6582, allocations: 0 / 0.871 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002391/0.6585, allocations: 32 kB / 0.871 GB, free: 11.9 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001012/0.6586, allocations: 174.5 kB / 0.8712 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 6.507e-05/0.6586, allocations: 15.92 kB / 0.8712 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6586, allocations: 0 / 0.8712 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.6586, allocations: 0 / 0.8712 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.6593, allocations: 0.5615 MB / 0.8718 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.6598, allocations: 441.8 kB / 0.8722 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.6601, allocations: 0.7595 MB / 0.8729 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.139e-05/0.6602, allocations: 30.97 kB / 0.8729 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.6602, allocations: 19.44 kB / 0.873 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.6602, allocations: 0 / 0.873 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of Templates: time 0.005574/0.6658, allocations: 3.159 MB / 0.876 GB, free: 6.773 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)