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.0008792/0.0008792, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.001029/0.001029, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9598/0.9598, allocations: 230.6 MB / 256 MB, free: 9.816 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.7736/0.7736, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001364/0.001364, allocations: 70.31 kB / 0.7182 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5338, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2248/0.7586, allocations: 254.2 MB / 1.066 GB, free: 6.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.7789, allocations: 22.63 MB / 1.088 GB, free: 216 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.7807, allocations: 79.31 kB / 1.088 GB, free: 136 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.7835, allocations: 1.002 MB / 1.089 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.7867, allocations: 1.528 MB / 1.091 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.7905, allocations: 2.078 MB / 1.093 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.00307/0.7935, allocations: 2.698 MB / 1.095 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.7945, allocations: 0.9813 MB / 1.096 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.7966, allocations: 1.623 MB / 1.098 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008473/0.7974, allocations: 0.9572 MB / 1.099 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.7975, allocations: 108 kB / 1.099 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.8003, allocations: 1.847 MB / 1.101 GB, free: 3.238 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.8005, allocations: 390.7 kB / 1.101 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.8009, allocations: 0.6376 MB / 1.102 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.803, allocations: 2.363 MB / 1.104 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.803, allocations: 3.938 kB / 1.104 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.443e-06/0.803, allocations: 0 / 1.104 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.803, allocations: 0 / 1.104 GB, free: 15.84 MB / 0.8855 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.001391/0.8044, allocations: 1.442 MB / 1.106 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.8044, allocations: 8.031 kB / 1.106 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.8045, allocations: 147.5 kB / 1.106 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.8052, allocations: 231 kB / 1.106 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.8063, allocations: 0.8597 MB / 1.107 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.8065, allocations: 291.6 kB / 1.107 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000362/0.8069, allocations: 95.88 kB / 1.107 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.8078, allocations: 0.9285 MB / 1.108 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.8079, allocations: 3.984 kB / 1.108 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.8079, allocations: 36 kB / 1.108 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.8079, allocations: 24 kB / 1.108 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.8086, allocations: 0.6324 MB / 1.109 GB, free: 11 MB / 0.8855 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.003042/0.8117, allocations: 4.375 MB / 1.113 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.812, allocations: 178.8 kB / 1.113 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.8122, allocations: 144.6 kB / 1.113 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/0.8125, allocations: 115.9 kB / 1.113 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.8125, allocations: 54.48 kB / 1.113 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=24): time 1.783e-06/0.8125, allocations: 0 / 1.113 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24): time 0.0009636/0.8135, allocations: 464.7 kB / 1.114 GB, free: 5.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.8135, allocations: 55.41 kB / 1.114 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.8145, allocations: 1.115 MB / 1.115 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.8145, allocations: 37.7 kB / 1.115 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.8148, allocations: 0.5244 MB / 1.116 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.8148, allocations: 95.16 kB / 1.116 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.8149, allocations: 94.08 kB / 1.116 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/0.815, allocations: 322 kB / 1.116 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.8151, allocations: 128.8 kB / 1.116 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/0.8154, allocations: 391.1 kB / 1.117 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.8158, allocations: 467.5 kB / 1.117 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8158, allocations: 0 / 1.117 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005939/0.8164, allocations: 0.5432 MB / 1.118 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8164, allocations: 15.88 kB / 1.118 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.8164, allocations: 8.688 kB / 1.118 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.8165, allocations: 8 kB / 1.118 GB, free: 1.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.8167, allocations: 95.83 kB / 1.118 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.8167, allocations: 11.94 kB / 1.118 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.817, allocations: 95.33 kB / 1.118 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.817, allocations: 23.94 kB / 1.118 GB, free: 1.027 MB / 0.8855 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.0002628/0.8173, allocations: 285.6 kB / 1.118 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.8174, allocations: 115.2 kB / 1.118 GB, free: 0.625 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004928/0.8179, allocations: 435.2 kB / 1.119 GB, free: 192 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.8179, allocations: 0 / 1.119 GB, free: 192 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.8179, allocations: 0 / 1.119 GB, free: 192 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8179, allocations: 288 / 1.119 GB, free: 192 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.8193, allocations: 1.534 MB / 1.12 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.8193, allocations: 7.938 kB / 1.12 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.8193, allocations: 39.92 kB / 1.12 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.8194, allocations: 11.98 kB / 1.12 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.8194, allocations: 11.98 kB / 1.12 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.8194, allocations: 12.55 kB / 1.12 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.8194, allocations: 7.938 kB / 1.12 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.8201, allocations: 0.587 MB / 1.121 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.8203, allocations: 163.2 kB / 1.121 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.8203, allocations: 7.953 kB / 1.121 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.8206, allocations: 19.98 kB / 1.121 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.8206, allocations: 35.83 kB / 1.121 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.8206, allocations: 16 kB / 1.121 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006777/0.8213, allocations: 0.7826 MB / 1.122 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.8213, allocations: 0 / 1.122 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005795/0.8219, allocations: 287.5 kB / 1.122 GB, free: 12.5 MB / 0.9011 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.0009272/0.8228, allocations: 1.33 MB / 1.123 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003907/0.8232, allocations: 323.5 kB / 1.124 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8232, allocations: 1.375 kB / 1.124 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.8233, allocations: 152.2 kB / 1.124 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.8246, allocations: 0.5064 MB / 1.124 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007128/0.8317, allocations: 7.474 MB / 1.132 GB, free: 2.258 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.8322, allocations: 1.071 MB / 1.133 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004687/0.8327, allocations: 197.3 kB / 1.133 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.833, allocations: 367.2 kB / 1.133 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of SimCode: time 8.82e-07/0.833, allocations: 4 kB / 1.133 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4015/1.235, allocations: 28.53 MB / 1.161 GB, free: 301.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/9.203, allocations: 8.469 kB / 1.161 GB, free: 301.7 MB / 0.9167 GB " [Timeout remaining time 651] (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: 12.205403880914673] Failed to read output from testmodel.py, exit status != 0: 9.295545544940978 9.30650644 8.500869715 Calling exit ...