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.0007086/0.0007085, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007663/0.0007664, allocations: 175.2 kB / 16.58 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.233/1.233, allocations: 223.2 MB / 240.6 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6173/0.6173, allocations: 113.7 MB / 405.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002847, allocations: 8.594 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 77.12 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4617/0.5982, allocations: 227.3 MB / 0.7789 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.6192, allocations: 20.69 MB / 0.7991 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.6205, allocations: 51.62 kB / 0.7992 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.6226, allocations: 0.6323 MB / 0.7998 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003032/0.6256, allocations: 1.17 MB / 0.8009 GB, free: 92 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003844/0.6295, allocations: 1.35 MB / 0.8022 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003983/0.6335, allocations: 2.981 MB / 0.8052 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.635, allocations: 0.8996 MB / 0.806 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.6373, allocations: 1.05 MB / 0.8071 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.6386, allocations: 0.8208 MB / 0.8079 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.6387, allocations: 32 kB / 0.8079 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00227/0.641, allocations: 0.8962 MB / 0.8088 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003546/0.6414, allocations: 283 kB / 0.809 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000388/0.6418, allocations: 265 kB / 0.8093 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.6436, allocations: 1.574 MB / 0.8108 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6436, allocations: 4 kB / 0.8108 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6436, allocations: 0 / 0.8108 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.288e-05/0.6437, allocations: 0 / 0.8108 GB, free: 5.91 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.0018/0.6455, allocations: 1.235 MB / 0.812 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6455, allocations: 12.03 kB / 0.8121 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/0.6457, allocations: 139.5 kB / 0.8122 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.6467, allocations: 238.2 kB / 0.8124 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.6479, allocations: 0.8225 MB / 0.8132 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.6481, allocations: 188.8 kB / 0.8134 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.6482, allocations: 88 kB / 0.8135 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6496, allocations: 0.9323 MB / 0.8144 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.6496, allocations: 0 / 0.8144 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.6497, allocations: 36 kB / 0.8144 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.6498, allocations: 27.95 kB / 0.8144 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.6508, allocations: 0.6284 MB / 0.8151 GB, free: 1.418 MB / 0.6231 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.267/0.9178, allocations: 4.423 MB / 0.8194 GB, free: 123.3 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003384/0.9181, allocations: 197.4 kB / 0.8196 GB, free: 123.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.9183, allocations: 139.6 kB / 0.8197 GB, free: 123.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006806/0.919, allocations: 1.024 MB / 0.8207 GB, free: 122.1 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.9191, allocations: 35.41 kB / 0.8207 GB, free: 122.1 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.9191, allocations: 0 / 0.8207 GB, free: 122.1 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.0009345/0.92, allocations: 463.6 kB / 0.8212 GB, free: 122 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.92, allocations: 59.34 kB / 0.8212 GB, free: 121.9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.9214, allocations: 1.1 MB / 0.8223 GB, free: 121.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.9215, allocations: 31.05 kB / 0.8223 GB, free: 121.7 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.9218, allocations: 0.5095 MB / 0.8228 GB, free: 121.6 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.9218, allocations: 87.95 kB / 0.8229 GB, free: 121.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.9219, allocations: 9.219 kB / 0.8229 GB, free: 121.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.9219, allocations: 319.7 kB / 0.8232 GB, free: 121.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.9221, allocations: 128.5 kB / 0.8234 GB, free: 121.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.9225, allocations: 387.2 kB / 0.8237 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.9228, allocations: 184.2 kB / 0.8239 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.9228, allocations: 2.156 kB / 0.8239 GB, free: 120.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008146/0.9236, allocations: 0.536 MB / 0.8244 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.9236, allocations: 13.59 kB / 0.8244 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9237, allocations: 10.7 kB / 0.8245 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.9237, allocations: 9.75 kB / 0.8245 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.924, allocations: 87.03 kB / 0.8245 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.924, allocations: 13.53 kB / 0.8246 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006739/0.9247, allocations: 131.8 kB / 0.8247 GB, free: 120.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.9248, allocations: 26.11 kB / 0.8247 GB, free: 120.8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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.0003057/0.9251, allocations: 287.6 kB / 0.825 GB, free: 120.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.9252, allocations: 103.3 kB / 0.8251 GB, free: 120.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006888/0.9259, allocations: 430.2 kB / 0.8255 GB, free: 120.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.9259, allocations: 3.094 kB / 0.8255 GB, free: 120.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.926, allocations: 0 / 0.8255 GB, free: 120.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.926, allocations: 1.875 kB / 0.8255 GB, free: 120.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.9279, allocations: 1.546 MB / 0.827 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.928, allocations: 3.438 kB / 0.827 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.9281, allocations: 43.58 kB / 0.827 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.075e-05/0.9281, allocations: 9.828 kB / 0.8271 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.9282, allocations: 13.38 kB / 0.8271 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.9282, allocations: 8.875 kB / 0.8271 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.9282, allocations: 4.656 kB / 0.8271 GB, free: 120.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.9287, allocations: 0.5619 MB / 0.8276 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.929, allocations: 247 kB / 0.8279 GB, free: 119.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.9291, allocations: 11.02 kB / 0.8279 GB, free: 119.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003965/0.9295, allocations: 37.88 kB / 0.8279 GB, free: 119.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.9296, allocations: 31.22 kB / 0.8279 GB, free: 119.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.9296, allocations: 14.92 kB / 0.828 GB, free: 119.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009976/0.9306, allocations: 0.7658 MB / 0.8287 GB, free: 119.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9306, allocations: 0 / 0.8287 GB, free: 119.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000827/0.9314, allocations: 283.5 kB / 0.829 GB, free: 119.5 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.00105/0.9325, allocations: 1.328 MB / 0.8303 GB, free: 118.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.933, allocations: 333.2 kB / 0.8306 GB, free: 118.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.9331, allocations: 1 kB / 0.8306 GB, free: 118.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.9333, allocations: 141.2 kB / 0.8307 GB, free: 118.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.9352, allocations: 479.5 kB / 0.8312 GB, free: 118.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.9427, allocations: 5.528 MB / 0.8366 GB, free: 116.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.9432, allocations: 1.059 MB / 0.8376 GB, free: 115.7 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007987/0.944, allocations: 196 kB / 0.8378 GB, free: 115.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.9444, allocations: 362.1 kB / 0.8382 GB, free: 115.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/0.9444, allocations: 0 / 0.8382 GB, free: 115.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.982, allocations: 26.49 MB / 0.864 GB, free: 100.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.9822, allocations: 243.1 kB / 0.8643 GB, free: 100.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/3.046, allocations: 3.938 kB / 0.8643 GB, free: 100.6 MB / 0.6231 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: