Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.000877/0.000877, allocations: 95.95 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009411/0.0009411, allocations: 174.3 kB / 16.57 MB, free: 6.391 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.133/1.133, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5734/0.5734, allocations: 113.7 MB / 405.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3567/0.4739, allocations: 205.6 MB / 0.7575 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.4913, allocations: 18.85 MB / 0.7759 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.492, allocations: 43.69 kB / 0.776 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.4933, allocations: 0.587 MB / 0.7765 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.4959, allocations: 1.507 MB / 0.778 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002749/0.4986, allocations: 1.477 MB / 0.7795 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.5005, allocations: 1.768 MB / 0.7812 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000975/0.5015, allocations: 0.9244 MB / 0.7821 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.5027, allocations: 0.9304 MB / 0.783 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.5033, allocations: 0.5835 MB / 0.7836 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.573e-05/0.5034, allocations: 32 kB / 0.7836 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.5048, allocations: 0.7995 MB / 0.7844 GB, free: 316 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.505, allocations: 267.2 kB / 0.7846 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.5052, allocations: 261.1 kB / 0.7849 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.5064, allocations: 1.484 MB / 0.7863 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5064, allocations: 4 kB / 0.7863 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5064, allocations: 0 / 0.7863 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5064, allocations: 0 / 0.7863 GB, free: 14.29 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001278/0.5077, allocations: 1.231 MB / 0.7875 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.5077, allocations: 8.031 kB / 0.7876 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.5079, allocations: 139.5 kB / 0.7877 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008715/0.5087, allocations: 238.2 kB / 0.7879 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.5098, allocations: 0.8109 MB / 0.7887 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.5099, allocations: 192.8 kB / 0.7889 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.51, allocations: 91.94 kB / 0.789 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.5112, allocations: 0.9129 MB / 0.7899 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5112, allocations: 7.984 kB / 0.7899 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-05/0.5112, allocations: 36 kB / 0.7899 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.5113, allocations: 27.95 kB / 0.7899 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008976/0.5122, allocations: 0.6246 MB / 0.7905 GB, free: 9.828 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.5156, allocations: 4.428 MB / 0.7949 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.5159, allocations: 186.6 kB / 0.795 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000468/0.5164, allocations: 0.6692 MB / 0.7957 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.5164, allocations: 34.56 kB / 0.7957 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.192e-06/0.5164, allocations: 0 / 0.7957 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0007947/0.5172, allocations: 453 kB / 0.7962 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.5173, allocations: 63.34 kB / 0.7962 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.5184, allocations: 1.098 MB / 0.7973 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.5184, allocations: 33.7 kB / 0.7973 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.5187, allocations: 0.504 MB / 0.7978 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.5188, allocations: 90.73 kB / 0.7979 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.5188, allocations: 4 kB / 0.7979 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.5189, allocations: 325.9 kB / 0.7982 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.5191, allocations: 128.8 kB / 0.7983 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.5195, allocations: 399.5 kB / 0.7987 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.5197, allocations: 187.8 kB / 0.7989 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5197, allocations: 0 / 0.7989 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007148/0.5205, allocations: 0.5388 MB / 0.7994 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5205, allocations: 8 kB / 0.7994 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5205, allocations: 8 kB / 0.7994 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.5205, allocations: 12.19 kB / 0.7995 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.5208, allocations: 96.45 kB / 0.7996 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5209, allocations: 12 kB / 0.7996 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/0.5215, allocations: 131 kB / 0.7997 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.5215, allocations: 28 kB / 0.7997 GB, free: 15.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (48): * Single equations (assignments): 48 * 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.0002839/0.5218, allocations: 289.5 kB / 0.8 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5219, allocations: 106.7 kB / 0.8001 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.5225, allocations: 426.2 kB / 0.8005 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.5225, allocations: 8 kB / 0.8005 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5225, allocations: 0 / 0.8005 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5225, allocations: 3.984 kB / 0.8005 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.5242, allocations: 1.511 MB / 0.802 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5243, allocations: 4 kB / 0.802 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.5244, allocations: 39.92 kB / 0.802 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5244, allocations: 8.562 kB / 0.802 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5244, allocations: 12 kB / 0.802 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.5245, allocations: 15.92 kB / 0.8021 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5245, allocations: 4 kB / 0.8021 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.525, allocations: 0.7867 MB / 0.8028 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.5253, allocations: 239.6 kB / 0.8031 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.5254, allocations: 12 kB / 0.8031 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.5259, allocations: 39.75 kB / 0.8031 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.5259, allocations: 31.88 kB / 0.8031 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.5259, allocations: 15.98 kB / 0.8032 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008006/0.5267, allocations: 0.7625 MB / 0.8039 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5267, allocations: 0 / 0.8039 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000635/0.5274, allocations: 279.5 kB / 0.8042 GB, free: 10.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001395/0.5288, allocations: 2.749 MB / 0.8069 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.5292, allocations: 320.3 kB / 0.8072 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.5293, allocations: 4 kB / 0.8072 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.5294, allocations: 133.2 kB / 0.8073 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.5312, allocations: 479.7 kB / 0.8077 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008104/0.5393, allocations: 10.13 MB / 0.8176 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.5399, allocations: 1.083 MB / 0.8187 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005884/0.5405, allocations: 194.8 kB / 0.8189 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.5409, allocations: 359.3 kB / 0.8192 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of SimCode: time 2.1e-07/0.5409, allocations: 0 / 0.8192 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.69/3.231, allocations: 26.24 MB / 0.8448 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/3.231, allocations: 235.2 kB / 0.8451 GB, free: 230.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/5.619, allocations: 0 / 0.8451 GB, free: 230.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: