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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007983/0.0007983, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008733/0.0008733, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8208/0.8208, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.81 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5551/0.5565, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2262/0.7827, allocations: 254.2 MB / 1.066 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.8044, allocations: 22.63 MB / 1.088 GB, free: 276 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.8065, allocations: 75.38 kB / 1.088 GB, free: 200 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002969/0.8094, allocations: 1.009 MB / 1.089 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.8134, allocations: 1.52 MB / 1.091 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.8178, allocations: 2.083 MB / 1.093 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.004087/0.8219, allocations: 2.698 MB / 1.095 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.8234, allocations: 0.9852 MB / 1.096 GB, free: 7.84 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003173/0.8266, allocations: 1.627 MB / 1.098 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.8281, allocations: 0.9533 MB / 1.099 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/0.8282, allocations: 108 kB / 1.099 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.8315, allocations: 1.847 MB / 1.101 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.832, allocations: 386.7 kB / 1.101 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008148/0.8328, allocations: 0.6416 MB / 1.102 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.8365, allocations: 2.367 MB / 1.104 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8365, allocations: 0 / 1.104 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8365, allocations: 0 / 1.104 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.242e-05/0.8366, allocations: 0 / 1.104 GB, free: 15.89 MB / 0.8855 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.002123/0.8387, allocations: 1.442 MB / 1.106 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.8387, allocations: 15.97 kB / 1.106 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.8389, allocations: 143.5 kB / 1.106 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007122/0.8396, allocations: 227 kB / 1.106 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.841, allocations: 0.8559 MB / 1.107 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.8412, allocations: 291.6 kB / 1.107 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.8413, allocations: 91.94 kB / 1.107 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.8424, allocations: 0.9285 MB / 1.108 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.8424, allocations: 3.938 kB / 1.108 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.8425, allocations: 36 kB / 1.108 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.8425, allocations: 20 kB / 1.108 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.8433, allocations: 0.6362 MB / 1.109 GB, free: 11.07 MB / 0.8855 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.003591/0.8469, allocations: 4.382 MB / 1.113 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.8472, allocations: 174.8 kB / 1.113 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.8473, allocations: 148.6 kB / 1.113 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.8477, allocations: 119.9 kB / 1.113 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.8477, allocations: 46.5 kB / 1.113 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 3.065e-06/0.8477, allocations: 0 / 1.113 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.0009407/0.8486, allocations: 464.7 kB / 1.114 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.8487, allocations: 51.41 kB / 1.114 GB, free: 5.266 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.8497, allocations: 1.118 MB / 1.115 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.8497, allocations: 29.7 kB / 1.115 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.85, allocations: 0.5322 MB / 1.116 GB, free: 3.562 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.8501, allocations: 95.16 kB / 1.116 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.8502, allocations: 94.08 kB / 1.116 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.8503, allocations: 322 kB / 1.116 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.8504, allocations: 132.7 kB / 1.116 GB, free: 2.922 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.8507, allocations: 387.1 kB / 1.117 GB, free: 2.434 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.8511, allocations: 467.5 kB / 1.117 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8511, allocations: 4 kB / 1.117 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006297/0.8518, allocations: 0.5432 MB / 1.118 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.8518, allocations: 11.94 kB / 1.118 GB, free: 1.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.8518, allocations: 8 kB / 1.118 GB, free: 1.316 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.8518, allocations: 8 kB / 1.118 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.852, allocations: 88.53 kB / 1.118 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.852, allocations: 23.91 kB / 1.118 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.8524, allocations: 91.33 kB / 1.118 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.8525, allocations: 24 kB / 1.118 GB, free: 1.086 MB / 0.8855 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.0003111/0.8528, allocations: 281.7 kB / 1.118 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.8529, allocations: 119.2 kB / 1.118 GB, free: 0.6836 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.8534, allocations: 439.3 kB / 1.119 GB, free: 248 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.8534, allocations: 4 kB / 1.119 GB, free: 244 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8534, allocations: 0 / 1.119 GB, free: 244 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.8534, allocations: 0 / 1.119 GB, free: 244 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.8548, allocations: 1.53 MB / 1.12 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.8548, allocations: 7.938 kB / 1.12 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.8549, allocations: 39.92 kB / 1.12 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.8549, allocations: 4 kB / 1.12 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.8549, allocations: 15.94 kB / 1.12 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.8549, allocations: 11.92 kB / 1.12 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.855, allocations: 8.281 kB / 1.12 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.8555, allocations: 0.5902 MB / 1.121 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.8557, allocations: 159.2 kB / 1.121 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.8558, allocations: 15.95 kB / 1.121 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.856, allocations: 15.98 kB / 1.121 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.856, allocations: 35.84 kB / 1.121 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.856, allocations: 15.98 kB / 1.121 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007168/0.8568, allocations: 0.7865 MB / 1.122 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8568, allocations: 0 / 1.122 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007337/0.8575, allocations: 287.5 kB / 1.122 GB, free: 12.55 MB / 0.9011 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.0009622/0.8585, allocations: 1.325 MB / 1.123 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.8589, allocations: 335.4 kB / 1.124 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8589, allocations: 1.375 kB / 1.124 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.8591, allocations: 140.6 kB / 1.124 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.8604, allocations: 0.501 MB / 1.124 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007804/0.8682, allocations: 7.474 MB / 1.132 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.8688, allocations: 1.063 MB / 1.133 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006589/0.8694, allocations: 198.2 kB / 1.133 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.8698, allocations: 367.3 kB / 1.133 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of SimCode: time 1.253e-06/0.8698, allocations: 0 / 1.133 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4103/1.28, allocations: 28.53 MB / 1.161 GB, free: 309 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/9.242, allocations: 19.25 kB / 1.161 GB, free: 308.9 MB / 0.9167 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.389231459004804] Failed to read output from testmodel.py, exit status != 0: 9.336754048010334 9.35027313 8.510666613 Calling exit ...