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.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.001118/0.001118, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001319/0.001319, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9432/0.9432, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7313/0.7313, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.583e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4945/0.4945, allocations: 221.7 MB / 0.8346 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.5138, allocations: 20.47 MB / 0.8546 GB, free: 1.484 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.5152, allocations: 79.31 kB / 0.8546 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.5172, allocations: 1.001 MB / 0.8556 GB, free: 408 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.5198, allocations: 1.548 MB / 0.8571 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.5229, allocations: 2.076 MB / 0.8591 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.5251, allocations: 2.705 MB / 0.8618 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009655/0.526, allocations: 0.9695 MB / 0.8627 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.5281, allocations: 2.009 MB / 0.8647 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.5288, allocations: 0.7946 MB / 0.8655 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.984e-05/0.5289, allocations: 111.3 kB / 0.8656 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.5307, allocations: 1.421 MB / 0.867 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.531, allocations: 406.6 kB / 0.8674 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.5313, allocations: 439 kB / 0.8678 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.5331, allocations: 2.341 MB / 0.8701 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5331, allocations: 0 / 0.8701 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5331, allocations: 0 / 0.8701 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.5331, allocations: 0 / 0.8701 GB, free: 1.543 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.001242/0.5343, allocations: 1.43 MB / 0.8715 GB, free: 76 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5344, allocations: 8.031 kB / 0.8715 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.5345, allocations: 143.5 kB / 0.8716 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.5351, allocations: 243 kB / 0.8718 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009706/0.5361, allocations: 0.8481 MB / 0.8727 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.5362, allocations: 291.6 kB / 0.8729 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.5363, allocations: 92 kB / 0.873 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009092/0.5372, allocations: 0.9362 MB / 0.8739 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5372, allocations: 3.938 kB / 0.8739 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.543e-05/0.5373, allocations: 39.98 kB / 0.874 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.5373, allocations: 28 kB / 0.874 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007025/0.538, allocations: 0.6246 MB / 0.8746 GB, free: 12.71 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.002469/0.5405, allocations: 2.897 MB / 0.8774 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.5407, allocations: 178.8 kB / 0.8776 GB, free: 9.562 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.5409, allocations: 136.8 kB / 0.8777 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/0.5412, allocations: 127.9 kB / 0.8779 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.5412, allocations: 30.56 kB / 0.8779 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.5412, allocations: 0 / 0.8779 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006361/0.5418, allocations: 479.5 kB / 0.8784 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.5418, allocations: 55.34 kB / 0.8784 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.5427, allocations: 1.134 MB / 0.8795 GB, free: 7.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5427, allocations: 33.7 kB / 0.8795 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.543, allocations: 0.5106 MB / 0.88 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.5431, allocations: 99.14 kB / 0.8801 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.5431, allocations: 94.14 kB / 0.8802 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.5432, allocations: 326 kB / 0.8805 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.5434, allocations: 124.9 kB / 0.8807 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.5438, allocations: 0.734 MB / 0.8814 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.5441, allocations: 471.5 kB / 0.8818 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5441, allocations: 2.375 kB / 0.8818 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005555/0.5447, allocations: 0.5398 MB / 0.8824 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.5447, allocations: 12.12 kB / 0.8824 GB, free: 4.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.5447, allocations: 11.98 kB / 0.8824 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.5447, allocations: 8 kB / 0.8824 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.5449, allocations: 91.78 kB / 0.8825 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.5449, allocations: 15.92 kB / 0.8825 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.5452, allocations: 95.28 kB / 0.8826 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.5453, allocations: 27.98 kB / 0.8826 GB, free: 4.105 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.0002449/0.5455, allocations: 285.6 kB / 0.8829 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.5456, allocations: 115.2 kB / 0.883 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005826/0.5462, allocations: 441.6 kB / 0.8834 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5462, allocations: 3.984 kB / 0.8834 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5462, allocations: 3.938 kB / 0.8834 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5462, allocations: 0 / 0.8834 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.5475, allocations: 1.44 MB / 0.8848 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5475, allocations: 4 kB / 0.8848 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-05/0.5476, allocations: 40.48 kB / 0.8849 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5476, allocations: 4 kB / 0.8849 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.5477, allocations: 20.86 kB / 0.8849 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.5477, allocations: 11.88 kB / 0.8849 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5477, allocations: 4 kB / 0.8849 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.548, allocations: 0.5743 MB / 0.8855 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.5482, allocations: 163.2 kB / 0.8856 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.5483, allocations: 11.94 kB / 0.8856 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.5485, allocations: 23.97 kB / 0.8857 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.5485, allocations: 37.41 kB / 0.8857 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.5486, allocations: 16 kB / 0.8857 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006574/0.5492, allocations: 0.7827 MB / 0.8865 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5492, allocations: 0 / 0.8865 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005751/0.5498, allocations: 291.4 kB / 0.8867 GB, free: 15.66 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.0009902/0.5508, allocations: 1.32 MB / 0.888 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004183/0.5512, allocations: 343.3 kB / 0.8884 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5512, allocations: 0 / 0.8884 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.5513, allocations: 134 kB / 0.8885 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.5526, allocations: 0.5169 MB / 0.889 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006776/0.5594, allocations: 7.48 MB / 0.8963 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.5599, allocations: 485.3 kB / 0.8968 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005189/0.5604, allocations: 197.8 kB / 0.897 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.5607, allocations: 364.4 kB / 0.8973 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of SimCode: time 1.583e-06/0.5607, allocations: 4 kB / 0.8973 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03942/0.6002, allocations: 30.79 MB / 0.9274 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/8.022, allocations: 0 / 0.9274 GB, free: 6.242 MB / 0.7761 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.922492356039584] Failed to read output from testmodel.py, exit status != 0: 8.118055747821927 8.127194115 7.592275283 Calling exit ...