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.0007852/0.0007852, allocations: 105.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.0009184/0.0009184, allocations: 208.1 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.9816/0.9816, allocations: 230.6 MB / 256 MB, free: 9.621 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.7879/0.7879, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.0009485/0.0009485, allocations: 62.88 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5258/0.5268, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1983/0.7251, allocations: 222.3 MB / 1.035 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.7414, allocations: 20.57 MB / 1.055 GB, free: 1.992 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.7425, allocations: 79.31 kB / 1.055 GB, free: 1.914 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.7444, allocations: 0.9782 MB / 1.056 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.7469, allocations: 1.508 MB / 1.057 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.7504, allocations: 2 MB / 1.059 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.002563/0.7529, allocations: 2.694 MB / 1.062 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009596/0.7539, allocations: 0.9579 MB / 1.063 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.7559, allocations: 1.639 MB / 1.065 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009347/0.7569, allocations: 0.8947 MB / 1.065 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.757, allocations: 108 kB / 1.066 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.7591, allocations: 1.395 MB / 1.067 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.7596, allocations: 394.7 kB / 1.067 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.76, allocations: 0.5095 MB / 1.068 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.762, allocations: 2.301 MB / 1.07 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.762, allocations: 4 kB / 1.07 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.353e-06/0.762, allocations: 0 / 1.07 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.762, allocations: 0 / 1.07 GB, free: 2.461 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.001352/0.7634, allocations: 1.445 MB / 1.071 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.7634, allocations: 8.031 kB / 1.071 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.7635, allocations: 139.5 kB / 1.072 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006696/0.7642, allocations: 243 kB / 1.072 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/0.7652, allocations: 0.8481 MB / 1.073 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.7653, allocations: 295.5 kB / 1.073 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.613e-05/0.7654, allocations: 99.94 kB / 1.073 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/0.7663, allocations: 0.9285 MB / 1.074 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.7664, allocations: 0 / 1.074 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.7664, allocations: 36 kB / 1.074 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.7664, allocations: 24 kB / 1.074 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000855/0.7673, allocations: 0.6323 MB / 1.075 GB, free: 13.62 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.002548/0.7698, allocations: 2.897 MB / 1.077 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.7701, allocations: 178.8 kB / 1.078 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.7703, allocations: 140.6 kB / 1.078 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.7706, allocations: 123.9 kB / 1.078 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.7707, allocations: 38.48 kB / 1.078 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.7707, allocations: 0 / 1.078 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24): time 0.0006355/0.7713, allocations: 472.7 kB / 1.078 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.7713, allocations: 55.41 kB / 1.078 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/0.7722, allocations: 1.134 MB / 1.08 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.7723, allocations: 33.7 kB / 1.08 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.7726, allocations: 0.5166 MB / 1.08 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.7726, allocations: 91.22 kB / 1.08 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.7727, allocations: 94.08 kB / 1.08 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.7728, allocations: 322 kB / 1.081 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.773, allocations: 128.8 kB / 1.081 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005709/0.7736, allocations: 0.7256 MB / 1.081 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.7739, allocations: 479.5 kB / 1.082 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.7739, allocations: 0 / 1.082 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005514/0.7745, allocations: 0.5434 MB / 1.082 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7745, allocations: 12.62 kB / 1.082 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.7745, allocations: 8 kB / 1.082 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7745, allocations: 16.03 kB / 1.082 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.7747, allocations: 87.83 kB / 1.083 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.7747, allocations: 11.94 kB / 1.083 GB, free: 5.113 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.7751, allocations: 99.27 kB / 1.083 GB, free: 5.016 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.7751, allocations: 24 kB / 1.083 GB, free: 4.992 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.0002396/0.7753, allocations: 289.6 kB / 1.083 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.7754, allocations: 115.2 kB / 1.083 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.7759, allocations: 431.4 kB / 1.083 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.7759, allocations: 0 / 1.083 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7759, allocations: 4 kB / 1.083 GB, free: 4.148 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.7759, allocations: 3.984 kB / 1.083 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.7772, allocations: 1.444 MB / 1.085 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.7772, allocations: 12 kB / 1.085 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.7773, allocations: 43.92 kB / 1.085 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.7773, allocations: 4 kB / 1.085 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.7773, allocations: 8.562 kB / 1.085 GB, free: 2.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.7773, allocations: 15.91 kB / 1.085 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.7773, allocations: 15.94 kB / 1.085 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.7777, allocations: 0.5782 MB / 1.086 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.7779, allocations: 163.2 kB / 1.086 GB, free: 1.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.778, allocations: 12 kB / 1.086 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.7782, allocations: 19.92 kB / 1.086 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.7782, allocations: 27.84 kB / 1.086 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.7782, allocations: 20 kB / 1.086 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000681/0.7789, allocations: 0.7865 MB / 1.087 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.7789, allocations: 0 / 1.087 GB, free: 0.8203 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005697/0.7795, allocations: 287.4 kB / 1.087 GB, free: 0.5391 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.001011/0.7805, allocations: 1.322 MB / 1.088 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.7809, allocations: 336.5 kB / 1.088 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7809, allocations: 4 kB / 1.088 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.781, allocations: 133.3 kB / 1.089 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.7822, allocations: 0.5196 MB / 1.089 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006296/0.7885, allocations: 7.463 MB / 1.096 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.7888, allocations: 485.3 kB / 1.097 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004924/0.7893, allocations: 199.8 kB / 1.097 GB, free: 5.609 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.7896, allocations: 367.3 kB / 1.097 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/0.7896, allocations: 0 / 1.097 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.8303, allocations: 30.71 MB / 1.127 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.893, allocations: 13.47 kB / 1.127 GB, free: 7.023 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.89827512204647] Failed to read output from testmodel.py, exit status != 0: 7.98988655442372 7.997778949 7.233987152 Calling exit ...