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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7663/0.7663, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 178.7 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 111.2 kB / 0.517 GB, free: 3.703 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 284.3 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.001421, allocations: 79.88 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3412, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4645/0.8057, allocations: 171.8 MB / 0.9358 GB, free: 276 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00773/0.8135, allocations: 9.52 MB / 0.9451 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.8139, allocations: 9.938 kB / 0.9451 GB, free: 76 kB / 0.5573 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.0006076/0.8146, allocations: 154.6 kB / 0.9452 GB, free: 72 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.8148, allocations: 87.81 kB / 0.9453 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.815, allocations: 57.03 kB / 0.9453 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000399/0.8154, allocations: 385.3 kB / 0.9457 GB, free: 64 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.8157, allocations: 199.9 kB / 0.9459 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.816, allocations: 152.3 kB / 0.9461 GB, free: 24 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.8161, allocations: 128.8 kB / 0.9462 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.8162, allocations: 23 kB / 0.9462 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.761e-05/0.8162, allocations: 16.22 kB / 0.9462 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.8163, allocations: 67.97 kB / 0.9463 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.8164, allocations: 120.9 kB / 0.9464 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.8167, allocations: 275.2 kB / 0.9467 GB, free: 15.99 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8167, allocations: 0 / 0.9467 GB, free: 15.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 6.91e-07/0.8167, allocations: 0 / 0.9467 GB, free: 15.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.8167, allocations: 1.25 kB / 0.9467 GB, free: 15.99 MB / 0.573 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.000472/0.8172, allocations: 0.5058 MB / 0.9471 GB, free: 15.58 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8172, allocations: 13.06 kB / 0.9472 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.8173, allocations: 38 kB / 0.9472 GB, free: 15.55 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.8176, allocations: 262.7 kB / 0.9474 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.8176, allocations: 17.69 kB / 0.9475 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.8176, allocations: 27.91 kB / 0.9475 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.818, allocations: 325.2 kB / 0.9478 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.818, allocations: 0 / 0.9478 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.818, allocations: 12.16 kB / 0.9478 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.8181, allocations: 5.594 kB / 0.9478 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.8182, allocations: 149.3 kB / 0.948 GB, free: 15.2 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.8193, allocations: 1.82 MB / 0.9497 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.8194, allocations: 165.1 kB / 0.9499 GB, free: 13.54 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.8194, allocations: 82.67 kB / 0.95 GB, free: 13.45 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.8195, allocations: 75.28 kB / 0.95 GB, free: 13.38 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.8195, allocations: 111.6 kB / 0.9502 GB, free: 13.26 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8195, allocations: 5.203 kB / 0.9502 GB, free: 13.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 8.334e-05/0.8196, allocations: 60.09 kB / 0.9502 GB, free: 13.21 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.8197, allocations: 126.7 kB / 0.9503 GB, free: 13.08 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.82, allocations: 369.6 kB / 0.9507 GB, free: 12.96 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.82, allocations: 25.7 kB / 0.9507 GB, free: 12.93 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.944e-05/0.8201, allocations: 170.2 kB / 0.9509 GB, free: 12.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.8201, allocations: 3.328 kB / 0.9509 GB, free: 12.84 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.8202, allocations: 17.97 kB / 0.9509 GB, free: 12.82 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.8203, allocations: 346.8 kB / 0.9512 GB, free: 12.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.8203, allocations: 5.719 kB / 0.9512 GB, free: 12.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.8203, allocations: 35.55 kB / 0.9513 GB, free: 12.46 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.8204, allocations: 47.3 kB / 0.9513 GB, free: 12.42 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8204, allocations: 0 / 0.9513 GB, free: 12.42 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001421/0.8205, allocations: 95.23 kB / 0.9514 GB, free: 12.37 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.8206, allocations: 4.938 kB / 0.9514 GB, free: 12.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.8206, allocations: 0 / 0.9514 GB, free: 12.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.8206, allocations: 1.906 kB / 0.9514 GB, free: 12.37 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.8207, allocations: 15.86 kB / 0.9514 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8207, allocations: 2.531 kB / 0.9514 GB, free: 12.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.473e-05/0.8207, allocations: 23.75 kB / 0.9514 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.8208, allocations: 2.656 kB / 0.9515 GB, free: 12.35 MB / 0.573 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.0001161/0.8209, allocations: 217.5 kB / 0.9517 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.915e-05/0.8209, allocations: 137.5 kB / 0.9518 GB, free: 12.03 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.821, allocations: 130.8 kB / 0.9519 GB, free: 11.92 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-05/0.8211, allocations: 182.9 kB / 0.9521 GB, free: 11.73 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-05/0.8211, allocations: 180.7 kB / 0.9523 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-05/0.8212, allocations: 179.5 kB / 0.9524 GB, free: 11.38 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.8214, allocations: 488.8 kB / 0.9529 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.626e-05/0.8215, allocations: 102.8 kB / 0.953 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.8215, allocations: 109.9 kB / 0.9531 GB, free: 10.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.131e-05/0.8216, allocations: 189.3 kB / 0.9533 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.8216, allocations: 185.3 kB / 0.9535 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.677e-05/0.8217, allocations: 179.2 kB / 0.9536 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.621e-05/0.8217, allocations: 182.7 kB / 0.9538 GB, free: 9.988 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.8221, allocations: 0.9188 MB / 0.9547 GB, free: 9.074 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-05/0.8222, allocations: 212.1 kB / 0.9549 GB, free: 8.859 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/0.8223, allocations: 183.4 kB / 0.9551 GB, free: 8.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.8224, allocations: 103.1 kB / 0.9552 GB, free: 8.574 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.8224, allocations: 184.5 kB / 0.9554 GB, free: 8.391 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.8225, allocations: 106 kB / 0.9555 GB, free: 8.285 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002323/0.8227, allocations: 271.1 kB / 0.9557 GB, free: 8.203 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8227, allocations: 0 / 0.9557 GB, free: 8.203 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003399/0.8231, allocations: 36.5 kB / 0.9557 GB, free: 8.195 MB / 0.573 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.0001087/0.8232, allocations: 172 kB / 0.9559 GB, free: 8.035 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.259e-05/0.8233, allocations: 26.42 kB / 0.9559 GB, free: 8.027 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.8233, allocations: 0 / 0.9559 GB, free: 8.027 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.8233, allocations: 2.031 kB / 0.9559 GB, free: 8.027 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007992/0.8241, allocations: 0.615 MB / 0.9565 GB, free: 7.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.8246, allocations: 487.3 kB / 0.957 GB, free: 7.152 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.8249, allocations: 0.7579 MB / 0.9577 GB, free: 6.449 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 9.785e-05/0.825, allocations: 36.97 kB / 0.9578 GB, free: 6.441 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.825, allocations: 20.66 kB / 0.9578 GB, free: 6.434 MB / 0.573 GB Notification: Performance of SimCode: time 2.4e-07/0.825, allocations: 0 / 0.9578 GB, free: 6.434 MB / 0.573 GB Notification: Performance of Templates: time 0.005141/0.8302, allocations: 3.1 MB / 0.9608 GB, free: 6.227 MB / 0.573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)