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.0008549/0.0008549, 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.0008471/0.0008471, allocations: 170.3 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.89/0.89, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7156/0.7156, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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 2.024e-06/2.024e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.749e-05, allocations: 11.53 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.5255/0.5255, allocations: 221.6 MB / 0.8345 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.5433, allocations: 20.46 MB / 0.8545 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.5454, allocations: 79.31 kB / 0.8546 GB, free: 1.477 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.548, allocations: 1.001 MB / 0.8555 GB, free: 480 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003816/0.5518, allocations: 1.55 MB / 0.8571 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.5561, allocations: 2.075 MB / 0.8591 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003956/0.56, allocations: 2.701 MB / 0.8617 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.5614, allocations: 0.9801 MB / 0.8627 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003627/0.565, allocations: 1.998 MB / 0.8646 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.5662, allocations: 0.7984 MB / 0.8654 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.5663, allocations: 108 kB / 0.8655 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.5693, allocations: 1.425 MB / 0.8669 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003665/0.5697, allocations: 402.7 kB / 0.8673 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006241/0.5703, allocations: 439 kB / 0.8677 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.5737, allocations: 2.341 MB / 0.87 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5737, allocations: 0 / 0.87 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.497e-06/0.5737, allocations: 0 / 0.87 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.942e-05/0.5737, allocations: 3.281 kB / 0.87 GB, free: 1.605 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.001996/0.5757, allocations: 1.434 MB / 0.8714 GB, free: 136 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.5758, allocations: 13.47 kB / 0.8714 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.5759, allocations: 139.6 kB / 0.8715 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.5766, allocations: 235 kB / 0.8718 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.5777, allocations: 0.8598 MB / 0.8726 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.578, allocations: 291.6 kB / 0.8729 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.5781, allocations: 88 kB / 0.873 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5791, allocations: 0.9285 MB / 0.8739 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5792, allocations: 11.88 kB / 0.8739 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.5792, allocations: 39.98 kB / 0.8739 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5792, allocations: 20 kB / 0.8739 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.5799, allocations: 0.6285 MB / 0.8746 GB, free: 12.77 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.002776/0.5827, allocations: 2.89 MB / 0.8774 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.583, allocations: 178 kB / 0.8775 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.5832, allocations: 144.7 kB / 0.8777 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003222/0.5835, allocations: 123.9 kB / 0.8778 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.5835, allocations: 38.56 kB / 0.8778 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 2.184e-06/0.5835, allocations: 4 kB / 0.8778 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006821/0.5842, allocations: 471.5 kB / 0.8783 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.5842, allocations: 59.34 kB / 0.8784 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009269/0.5851, allocations: 1.13 MB / 0.8795 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.5852, allocations: 29.7 kB / 0.8795 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.5855, allocations: 0.5166 MB / 0.88 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.5855, allocations: 95.2 kB / 0.8801 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.5856, allocations: 94.14 kB / 0.8802 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.22e-05/0.5857, allocations: 322 kB / 0.8805 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.5859, allocations: 132.9 kB / 0.8806 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.5863, allocations: 0.7301 MB / 0.8813 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.5867, allocations: 467.6 kB / 0.8818 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.5867, allocations: 6.531 kB / 0.8818 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005921/0.5873, allocations: 0.5476 MB / 0.8823 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.5873, allocations: 10.34 kB / 0.8823 GB, free: 4.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.5873, allocations: 4 kB / 0.8823 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.5873, allocations: 12 kB / 0.8823 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.5875, allocations: 95.77 kB / 0.8824 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.5876, allocations: 11.94 kB / 0.8824 GB, free: 4.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.5879, allocations: 102.5 kB / 0.8825 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.588, allocations: 24.19 kB / 0.8826 GB, free: 4.164 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.0002684/0.5882, allocations: 289.6 kB / 0.8828 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.5883, allocations: 107.3 kB / 0.8829 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/0.589, allocations: 441.4 kB / 0.8833 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.589, allocations: 4 kB / 0.8834 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.589, allocations: 3.938 kB / 0.8834 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.589, allocations: 3.984 kB / 0.8834 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.5904, allocations: 1.433 MB / 0.8848 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.5904, allocations: 4 kB / 0.8848 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.334e-05/0.5905, allocations: 43.95 kB / 0.8848 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.5905, allocations: 8 kB / 0.8848 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5906, allocations: 11.94 kB / 0.8848 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.5906, allocations: 19.86 kB / 0.8848 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5906, allocations: 4 kB / 0.8848 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004671/0.591, allocations: 0.5697 MB / 0.8854 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.5913, allocations: 167.1 kB / 0.8856 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.5913, allocations: 19.94 kB / 0.8856 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.5916, allocations: 16.73 kB / 0.8856 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.5916, allocations: 31.84 kB / 0.8856 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.5916, allocations: 12 kB / 0.8856 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007284/0.5923, allocations: 0.7865 MB / 0.8864 GB, free: 20 kB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5923, allocations: 0 / 0.8864 GB, free: 20 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006974/0.593, allocations: 291.5 kB / 0.8867 GB, free: 15.73 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.0009426/0.594, allocations: 1.315 MB / 0.888 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.5944, allocations: 342.6 kB / 0.8883 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5944, allocations: 9.312 kB / 0.8883 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.5946, allocations: 144.4 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.00134/0.5959, allocations: 0.5036 MB / 0.8889 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007322/0.6033, allocations: 7.495 MB / 0.8963 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.6036, allocations: 481.3 kB / 0.8967 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007322/0.6043, allocations: 199.2 kB / 0.8969 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.6047, allocations: 368.4 kB / 0.8973 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of SimCode: time 1.613e-06/0.6047, allocations: 0 / 0.8973 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0488/0.6535, allocations: 30.79 MB / 0.9273 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/8.223, allocations: 5.062 kB / 0.9273 GB, free: 6.289 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 & /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.977026417851448] Failed to read output from testmodel.py, exit status != 0: 8.32158684451133 8.332802143 7.756131568 Calling exit ...