Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="IDEAS_dev_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.0009214/0.0009216, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005498/0.005498, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.892/0.892, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 8 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4421/0.5711, allocations: 243.4 MB / 0.8257 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.5927, allocations: 22 MB / 0.8472 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.5938, allocations: 43.69 kB / 0.8473 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.5957, allocations: 0.7885 MB / 0.848 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.5984, allocations: 1.381 MB / 0.8494 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.602, allocations: 1.78 MB / 0.8511 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.6052, allocations: 3.532 MB / 0.8546 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.6065, allocations: 1.089 MB / 0.8556 GB, free: 9.348 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.6082, allocations: 1.128 MB / 0.8567 GB, free: 8.215 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008977/0.6091, allocations: 0.8557 MB / 0.8576 GB, free: 7.355 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.6092, allocations: 36 kB / 0.8576 GB, free: 7.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.6119, allocations: 1.87 MB / 0.8594 GB, free: 5.445 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.6121, allocations: 287 kB / 0.8597 GB, free: 5.164 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.6126, allocations: 0.5612 MB / 0.8602 GB, free: 4.594 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.6146, allocations: 2.254 MB / 0.8624 GB, free: 2.332 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6146, allocations: 3.984 kB / 0.8624 GB, free: 2.328 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6146, allocations: 0 / 0.8624 GB, free: 2.328 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.6146, allocations: 0 / 0.8624 GB, free: 2.328 MB / 0.67 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.001439/0.6161, allocations: 1.237 MB / 0.8637 GB, free: 1.039 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.6161, allocations: 8.031 kB / 0.8637 GB, free: 1.031 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.6163, allocations: 139.5 kB / 0.8638 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009492/0.6172, allocations: 230.4 kB / 0.864 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2115/0.8287, allocations: 0.8476 MB / 0.8648 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.8289, allocations: 190 kB / 0.865 GB, free: 222.1 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.829, allocations: 90.81 kB / 0.8651 GB, free: 222.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.8302, allocations: 0.9307 MB / 0.866 GB, free: 222 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.8303, allocations: 3.094 kB / 0.866 GB, free: 222 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.8303, allocations: 33.78 kB / 0.8661 GB, free: 222 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.8303, allocations: 26.52 kB / 0.8661 GB, free: 222 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.8312, allocations: 0.6297 MB / 0.8667 GB, free: 222 MB / 0.67 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.002866/0.834, allocations: 4.448 MB / 0.871 GB, free: 219.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/0.8343, allocations: 186.7 kB / 0.8712 GB, free: 219.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.8345, allocations: 142.6 kB / 0.8714 GB, free: 219.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005912/0.8351, allocations: 1.025 MB / 0.8724 GB, free: 218.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.8351, allocations: 34.67 kB / 0.8724 GB, free: 218 MB / 0.67 GB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.8351, allocations: 0 / 0.8724 GB, free: 218 MB / 0.67 GB Notification: Performance of matching and sorting (n=24): time 0.0007554/0.8359, allocations: 467 kB / 0.8728 GB, free: 217.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/0.8359, allocations: 54.31 kB / 0.8729 GB, free: 217.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009847/0.8369, allocations: 1.114 MB / 0.874 GB, free: 217.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.8369, allocations: 31.89 kB / 0.874 GB, free: 217.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.8372, allocations: 0.5032 MB / 0.8745 GB, free: 217.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.8373, allocations: 87.73 kB / 0.8746 GB, free: 217.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.8373, allocations: 34.62 kB / 0.8746 GB, free: 217.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.8374, allocations: 332.9 kB / 0.8749 GB, free: 217.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.8376, allocations: 131.5 kB / 0.8751 GB, free: 217.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.8378, allocations: 383.7 kB / 0.8754 GB, free: 216.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/0.8382, allocations: 468.6 kB / 0.8759 GB, free: 216.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.8382, allocations: 3.125 kB / 0.8759 GB, free: 216.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006298/0.8389, allocations: 0.5423 MB / 0.8764 GB, free: 216.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.8389, allocations: 5.562 kB / 0.8764 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.8389, allocations: 8.312 kB / 0.8764 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8389, allocations: 12.53 kB / 0.8764 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.8392, allocations: 88.97 kB / 0.8765 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.8392, allocations: 16.03 kB / 0.8765 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.8399, allocations: 127.9 kB / 0.8766 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.8399, allocations: 27.64 kB / 0.8767 GB, free: 216.2 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.8402, allocations: 287.3 kB / 0.8769 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.8403, allocations: 105.9 kB / 0.8771 GB, free: 215.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/0.8408, allocations: 421.4 kB / 0.8775 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8408, allocations: 2.969 kB / 0.8775 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8408, allocations: 2.875 kB / 0.8775 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.8408, allocations: 8.016 kB / 0.8775 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.8422, allocations: 1.547 MB / 0.879 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.8422, allocations: 5.875 kB / 0.879 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.8424, allocations: 41.98 kB / 0.879 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.8424, allocations: 6.562 kB / 0.879 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.8424, allocations: 11.98 kB / 0.879 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8424, allocations: 6.656 kB / 0.879 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.8424, allocations: 14.19 kB / 0.8791 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.8428, allocations: 0.5711 MB / 0.8796 GB, free: 214.4 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.843, allocations: 245.2 kB / 0.8799 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.8431, allocations: 10.48 kB / 0.8799 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.8436, allocations: 31.05 kB / 0.8799 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.8436, allocations: 37.06 kB / 0.8799 GB, free: 214.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.8436, allocations: 16.34 kB / 0.8799 GB, free: 214.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000694/0.8443, allocations: 0.7779 MB / 0.8807 GB, free: 213.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.01e-07/0.8443, allocations: 0 / 0.8807 GB, free: 213.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0006486/0.845, allocations: 289.2 kB / 0.881 GB, free: 213.8 MB / 0.67 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 (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.0009011/0.8459, allocations: 1.341 MB / 0.8823 GB, free: 212.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.8463, allocations: 334.2 kB / 0.8826 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8463, allocations: 1.125 kB / 0.8826 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.8465, allocations: 140.1 kB / 0.8827 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002575/0.8491, allocations: 0.5289 MB / 0.8833 GB, free: 212.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.8564, allocations: 8.211 MB / 0.8913 GB, free: 207.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.8568, allocations: 1.067 MB / 0.8923 GB, free: 206.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005865/0.8574, allocations: 198.9 kB / 0.8925 GB, free: 206.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.8578, allocations: 369.4 kB / 0.8929 GB, free: 206.4 MB / 0.67 GB Notification: Performance of SimCode: time 2.51e-07/0.8578, allocations: 4 kB / 0.8929 GB, free: 206.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5933/1.451, allocations: 29.36 MB / 0.9215 GB, free: 200.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/1.451, allocations: 272.8 kB / 0.9218 GB, free: 200.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.316/3.767, allocations: 0 / 0.9218 GB, free: 200.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)