Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_IDEAS_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.001773/0.001773, allocations: 100.2 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.001978/0.001978, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.434/2.434, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.367/1.367, allocations: 132.3 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004832, allocations: 13.58 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.681/0.6815, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3681/1.05, allocations: 205.6 MB / 0.7838 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04523/1.095, allocations: 18.85 MB / 0.8022 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/1.097, allocations: 43.69 kB / 0.8023 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/1.101, allocations: 0.587 MB / 0.8028 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009742/1.111, allocations: 1.492 MB / 0.8043 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008996/1.12, allocations: 1.481 MB / 0.8057 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006903/1.127, allocations: 1.768 MB / 0.8075 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00256/1.13, allocations: 0.9266 MB / 0.8084 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/1.133, allocations: 0.9266 MB / 0.8093 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/1.135, allocations: 0.5796 MB / 0.8098 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/1.135, allocations: 36 kB / 0.8099 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/1.139, allocations: 0.8073 MB / 0.8107 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006283/1.14, allocations: 263 kB / 0.8109 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007309/1.141, allocations: 261.1 kB / 0.8112 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003527/1.144, allocations: 1.5 MB / 0.8126 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.144, allocations: 0 / 0.8126 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.096e-06/1.144, allocations: 0 / 0.8126 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.11e-05/1.145, allocations: 0 / 0.8126 GB, free: 4.875 MB / 0.6387 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.003302/1.148, allocations: 1.223 MB / 0.8138 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.166e-05/1.148, allocations: 12.03 kB / 0.8138 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003197/1.148, allocations: 139.5 kB / 0.814 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/1.151, allocations: 226.4 kB / 0.8142 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/1.153, allocations: 0.8186 MB / 0.815 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/1.153, allocations: 184.8 kB / 0.8151 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002262/1.154, allocations: 92 kB / 0.8152 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/1.157, allocations: 0.9207 MB / 0.8161 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/1.157, allocations: 0 / 0.8161 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/1.157, allocations: 36 kB / 0.8162 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/1.157, allocations: 27.98 kB / 0.8162 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/1.159, allocations: 0.6207 MB / 0.8168 GB, free: 436 kB / 0.6387 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.5728/1.732, allocations: 4.433 MB / 0.8211 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007221/1.733, allocations: 186.9 kB / 0.8213 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008653/1.734, allocations: 0.6644 MB / 0.822 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/1.734, allocations: 48.34 kB / 0.822 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=24): time 3.717e-06/1.734, allocations: 4.125 kB / 0.822 GB, free: 218.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24): time 0.002352/1.736, allocations: 450.6 kB / 0.8224 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.736, allocations: 54.77 kB / 0.8225 GB, free: 218.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/1.74, allocations: 1.092 MB / 0.8236 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.67e-05/1.74, allocations: 36.27 kB / 0.8236 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006902/1.741, allocations: 0.5131 MB / 0.8241 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/1.741, allocations: 83.11 kB / 0.8242 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/1.741, allocations: 10.31 kB / 0.8242 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.741, allocations: 318.7 kB / 0.8245 GB, free: 217 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/1.741, allocations: 126.1 kB / 0.8246 GB, free: 217 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/1.742, allocations: 401.5 kB / 0.825 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/1.743, allocations: 182.4 kB / 0.8252 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.607e-05/1.743, allocations: 2.719 kB / 0.8252 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001876/1.744, allocations: 0.5433 MB / 0.8257 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/1.744, allocations: 9.578 kB / 0.8257 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.745, allocations: 6.875 kB / 0.8257 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.81e-05/1.745, allocations: 14.09 kB / 0.8257 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/1.745, allocations: 92.27 kB / 0.8258 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-05/1.745, allocations: 14.95 kB / 0.8258 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.747, allocations: 126.2 kB / 0.8259 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/1.747, allocations: 31.3 kB / 0.826 GB, free: 216.2 MB / 0.6387 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.0007755/1.748, allocations: 283.4 kB / 0.8262 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/1.748, allocations: 107.2 kB / 0.8264 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/1.749, allocations: 423.2 kB / 0.8268 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/1.749, allocations: 2.812 kB / 0.8268 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/1.749, allocations: 1.719 kB / 0.8268 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.749, allocations: 5.891 kB / 0.8268 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/1.753, allocations: 1.51 MB / 0.8282 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.754, allocations: 4.828 kB / 0.8282 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/1.754, allocations: 41.69 kB / 0.8283 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/1.754, allocations: 6.375 kB / 0.8283 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/1.754, allocations: 18.66 kB / 0.8283 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-05/1.754, allocations: 10.61 kB / 0.8283 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/1.754, allocations: 5.062 kB / 0.8283 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/1.755, allocations: 0.7917 MB / 0.8291 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007008/1.756, allocations: 250.7 kB / 0.8293 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/1.756, allocations: 11.3 kB / 0.8293 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/1.757, allocations: 29.59 kB / 0.8294 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/1.757, allocations: 32.25 kB / 0.8294 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/1.757, allocations: 12.73 kB / 0.8294 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001937/1.759, allocations: 0.7655 MB / 0.8302 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.2e-07/1.759, allocations: 1.344 kB / 0.8302 GB, free: 213.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001962/1.761, allocations: 282.5 kB / 0.8304 GB, free: 213.6 MB / 0.6387 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.002824/1.764, allocations: 2.75 MB / 0.8331 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001149/1.765, allocations: 325.3 kB / 0.8334 GB, free: 211 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.765, allocations: 4.188 kB / 0.8334 GB, free: 211 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/1.765, allocations: 136.6 kB / 0.8336 GB, free: 210.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/1.769, allocations: 473.9 kB / 0.834 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.788, allocations: 10.12 MB / 0.8439 GB, free: 203 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.789, allocations: 1.088 MB / 0.845 GB, free: 202.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002037/1.791, allocations: 197.8 kB / 0.8452 GB, free: 202 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008042/1.792, allocations: 368 kB / 0.8455 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.763e-06/1.792, allocations: 0 / 0.8455 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.92, allocations: 26.22 MB / 0.8711 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/1.92, allocations: 226.5 kB / 0.8713 GB, free: 181.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/5.866, allocations: 0 / 0.8713 GB, free: 181.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: