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.000844/0.000844, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.00106/0.00106, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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.8881/0.8881, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.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.7671/0.7671, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.762e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4969/0.4969, allocations: 221.7 MB / 0.8345 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01943/0.5164, allocations: 20.45 MB / 0.8545 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.5181, allocations: 87.25 kB / 0.8546 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.5209, allocations: 1.001 MB / 0.8555 GB, free: 464 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.5261, allocations: 1.547 MB / 0.8571 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004459/0.5306, allocations: 2.079 MB / 0.8591 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003677/0.5343, allocations: 2.697 MB / 0.8617 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.5356, allocations: 0.9808 MB / 0.8627 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.5389, allocations: 2.006 MB / 0.8646 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009912/0.5399, allocations: 0.7984 MB / 0.8654 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.5401, allocations: 108 kB / 0.8655 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.5428, allocations: 1.425 MB / 0.8669 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.5431, allocations: 394.7 kB / 0.8673 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.5436, allocations: 443 kB / 0.8677 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003059/0.5466, allocations: 2.341 MB / 0.87 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5467, allocations: 0 / 0.87 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5467, allocations: 0 / 0.87 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.249e-05/0.5467, allocations: 0 / 0.87 GB, free: 1.59 MB / 0.7136 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.001618/0.5483, allocations: 1.43 MB / 0.8714 GB, free: 124 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5483, allocations: 16.75 kB / 0.8714 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.5485, allocations: 143.6 kB / 0.8715 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.5491, allocations: 231 kB / 0.8718 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5502, allocations: 0.8597 MB / 0.8726 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.5504, allocations: 295.6 kB / 0.8729 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.5505, allocations: 88 kB / 0.873 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.5515, allocations: 0.9362 MB / 0.8739 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5516, allocations: 3.938 kB / 0.8739 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.5516, allocations: 36 kB / 0.8739 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.5516, allocations: 20 kB / 0.8739 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.5524, allocations: 0.6324 MB / 0.8746 GB, free: 12.76 MB / 0.7292 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.004236/0.5566, allocations: 2.886 MB / 0.8774 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.557, allocations: 182 kB / 0.8776 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.5572, allocations: 146.7 kB / 0.8777 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/0.5576, allocations: 119.9 kB / 0.8778 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5576, allocations: 42.56 kB / 0.8778 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 2.485e-06/0.5576, allocations: 0 / 0.8778 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0008321/0.5585, allocations: 471.5 kB / 0.8783 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.5585, allocations: 59.34 kB / 0.8784 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.5596, allocations: 1.126 MB / 0.8795 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.5596, allocations: 29.7 kB / 0.8795 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.5599, allocations: 0.5205 MB / 0.88 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.56, allocations: 95.16 kB / 0.8801 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.5601, allocations: 102.1 kB / 0.8802 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5602, allocations: 318 kB / 0.8805 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.5604, allocations: 128.9 kB / 0.8806 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.5608, allocations: 0.7339 MB / 0.8813 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.5612, allocations: 467.6 kB / 0.8818 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.5612, allocations: 4 kB / 0.8818 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006213/0.5618, allocations: 0.5474 MB / 0.8823 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5619, allocations: 10.72 kB / 0.8823 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5619, allocations: 4 kB / 0.8823 GB, free: 4.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5619, allocations: 12 kB / 0.8823 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.5621, allocations: 95.77 kB / 0.8824 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5621, allocations: 11.94 kB / 0.8824 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.5626, allocations: 99.58 kB / 0.8825 GB, free: 4.172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.5626, allocations: 24 kB / 0.8825 GB, free: 4.148 MB / 0.7292 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.0003081/0.5629, allocations: 285.6 kB / 0.8828 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.563, allocations: 114.9 kB / 0.8829 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.5636, allocations: 437.7 kB / 0.8833 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.5636, allocations: 4 kB / 0.8834 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5636, allocations: 3.938 kB / 0.8834 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5636, allocations: 4 kB / 0.8834 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.5651, allocations: 1.437 MB / 0.8848 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5651, allocations: 12.11 kB / 0.8848 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.5652, allocations: 39.92 kB / 0.8848 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.5652, allocations: 8 kB / 0.8848 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5652, allocations: 8 kB / 0.8848 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.5652, allocations: 15.88 kB / 0.8848 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5652, allocations: 4 kB / 0.8848 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.5657, allocations: 0.5763 MB / 0.8854 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.5659, allocations: 163.2 kB / 0.8856 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/0.566, allocations: 19.92 kB / 0.8856 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5662, allocations: 15.98 kB / 0.8856 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.5662, allocations: 31.84 kB / 0.8856 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.5663, allocations: 12 kB / 0.8856 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009385/0.5672, allocations: 0.7865 MB / 0.8864 GB, free: 8 kB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5672, allocations: 0.5625 kB / 0.8864 GB, free: 8 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000795/0.568, allocations: 287.5 kB / 0.8867 GB, free: 15.72 MB / 0.7448 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.001034/0.569, allocations: 1.327 MB / 0.888 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000485/0.5695, allocations: 332.6 kB / 0.8883 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5695, allocations: 4 kB / 0.8883 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.5697, allocations: 136.2 kB / 0.8884 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5711, allocations: 0.5137 MB / 0.8889 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008532/0.5796, allocations: 7.5 MB / 0.8963 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.58, allocations: 481.3 kB / 0.8967 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00072/0.5807, allocations: 197.9 kB / 0.8969 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.5811, allocations: 372.4 kB / 0.8973 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of SimCode: time 1.884e-06/0.5811, allocations: 0 / 0.8973 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.6304, allocations: 30.79 MB / 0.9273 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/8.058, allocations: 5.703 kB / 0.9273 GB, free: 6.27 MB / 0.7761 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: 10.956311080604792] Failed to read output from testmodel.py, exit status != 0: 8.158695640973747 8.169216967 7.620515464 Calling exit ...