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.001237/0.001237, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001475/0.001475, allocations: 209.7 kB / 22.24 MB, free: 3.59 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 0.9867/0.9867, allocations: 230.6 MB / 256 MB, free: 9.598 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.7823/0.7823, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.00139/0.00139, allocations: 67.16 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5699, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1909/0.7608, allocations: 222.3 MB / 1.035 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.7769, allocations: 20.58 MB / 1.055 GB, free: 1.961 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.7784, allocations: 79.31 kB / 1.055 GB, free: 1.883 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001901/0.7803, allocations: 0.9782 MB / 1.056 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.7826, allocations: 1.505 MB / 1.057 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.7858, allocations: 2.004 MB / 1.059 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.002057/0.7879, allocations: 2.686 MB / 1.062 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.7888, allocations: 0.9657 MB / 1.063 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.7906, allocations: 1.635 MB / 1.065 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009785/0.7916, allocations: 0.8908 MB / 1.065 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.7917, allocations: 112 kB / 1.066 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.7933, allocations: 1.395 MB / 1.067 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002377/0.7936, allocations: 390.7 kB / 1.067 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.7939, allocations: 0.5095 MB / 1.068 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.7956, allocations: 2.308 MB / 1.07 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7956, allocations: 0 / 1.07 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7956, allocations: 0 / 1.07 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.7956, allocations: 0 / 1.07 GB, free: 2.434 MB / 0.8386 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.001285/0.7969, allocations: 1.446 MB / 1.071 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.797, allocations: 12.03 kB / 1.071 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.7971, allocations: 135.5 kB / 1.072 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006211/0.7977, allocations: 243 kB / 1.072 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.7988, allocations: 0.856 MB / 1.073 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.799, allocations: 287.6 kB / 1.073 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.7991, allocations: 99.75 kB / 1.073 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.8, allocations: 0.9246 MB / 1.074 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.8, allocations: 0 / 1.074 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.8, allocations: 36 kB / 1.074 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.8, allocations: 24 kB / 1.074 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.8007, allocations: 0.6246 MB / 1.075 GB, free: 13.61 MB / 0.8542 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.002374/0.8031, allocations: 2.901 MB / 1.077 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.8034, allocations: 182.7 kB / 1.078 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.8035, allocations: 139.4 kB / 1.078 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.8038, allocations: 131.9 kB / 1.078 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.8038, allocations: 34.5 kB / 1.078 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.8038, allocations: 0 / 1.078 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0006375/0.8045, allocations: 481.8 kB / 1.078 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.8045, allocations: 55.34 kB / 1.078 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.8055, allocations: 1.122 MB / 1.08 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.8055, allocations: 41.69 kB / 1.08 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.8058, allocations: 0.5166 MB / 1.08 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.8058, allocations: 95.2 kB / 1.08 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.806, allocations: 90.08 kB / 1.08 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.806, allocations: 326 kB / 1.081 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.8062, allocations: 136.8 kB / 1.081 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.8065, allocations: 0.7256 MB / 1.081 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.8069, allocations: 475.5 kB / 1.082 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8069, allocations: 0 / 1.082 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005633/0.8075, allocations: 0.5551 MB / 1.082 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.8075, allocations: 8 kB / 1.082 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8075, allocations: 4 kB / 1.082 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.8075, allocations: 8 kB / 1.082 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.8077, allocations: 79.91 kB / 1.083 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.8077, allocations: 20.55 kB / 1.083 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.808, allocations: 99.27 kB / 1.083 GB, free: 4.984 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.8081, allocations: 27.98 kB / 1.083 GB, free: 4.957 MB / 0.8542 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.0002351/0.8083, allocations: 285.6 kB / 1.083 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.118e-05/0.8084, allocations: 115.2 kB / 1.083 GB, free: 4.555 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004546/0.8088, allocations: 431.2 kB / 1.083 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.8088, allocations: 11.94 kB / 1.083 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8088, allocations: 0 / 1.083 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.8089, allocations: 0 / 1.083 GB, free: 4.109 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.8101, allocations: 1.441 MB / 1.085 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.8101, allocations: 4 kB / 1.085 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.8102, allocations: 47.91 kB / 1.085 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.8102, allocations: 4 kB / 1.085 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.8102, allocations: 8 kB / 1.085 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.8102, allocations: 11.94 kB / 1.085 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8102, allocations: 7.938 kB / 1.085 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.8106, allocations: 0.5824 MB / 1.086 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.8108, allocations: 167.2 kB / 1.086 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.8108, allocations: 11.98 kB / 1.086 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.811, allocations: 15.98 kB / 1.086 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.8111, allocations: 31.84 kB / 1.086 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.8111, allocations: 12 kB / 1.086 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007837/0.8119, allocations: 0.7865 MB / 1.086 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.8119, allocations: 0 / 1.086 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000522/0.8124, allocations: 295.3 kB / 1.087 GB, free: 0.5156 MB / 0.8542 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.0008656/0.8133, allocations: 1.327 MB / 1.088 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003868/0.8136, allocations: 334.7 kB / 1.088 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8136, allocations: 4.062 kB / 1.088 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.8138, allocations: 143.8 kB / 1.089 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.815, allocations: 0.5135 MB / 1.089 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/0.8214, allocations: 7.47 MB / 1.096 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.8218, allocations: 477.3 kB / 1.097 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004194/0.8222, allocations: 205 kB / 1.097 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.8225, allocations: 363.3 kB / 1.097 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of SimCode: time 8.82e-07/0.8225, allocations: 0 / 1.097 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.8583, allocations: 30.72 MB / 1.127 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/8.065, allocations: 7.922 kB / 1.127 GB, free: 7 MB / 0.9011 GB " [Timeout remaining time 652] (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: 11.174315557349473] Failed to read output from testmodel.py, exit status != 0: 8.163614377845079 8.174524205 7.376506704 Calling exit ...