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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.153/1.153, allocations: 175.7 MB / 478.4 MB, free: 3.395 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001969/0.001969, allocations: 71.94 kB / 0.6652 GB, free: 11.17 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2103, allocations: 94.54 MB / 0.7575 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7927/1.003, allocations: 250.1 MB / 1.002 GB, free: 436 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03883/1.042, allocations: 22.4 MB / 1.024 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/1.044, allocations: 51.69 kB / 1.024 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003347/1.047, allocations: 0.9937 MB / 1.025 GB, free: 8.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004895/1.052, allocations: 1.515 MB / 1.026 GB, free: 7.387 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0059/1.058, allocations: 1.955 MB / 1.028 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004962/1.063, allocations: 2.662 MB / 1.031 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001907/1.065, allocations: 1.02 MB / 1.032 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004039/1.069, allocations: 1.588 MB / 1.033 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/1.071, allocations: 0.9534 MB / 1.034 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/1.071, allocations: 108 kB / 1.034 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/1.075, allocations: 1.757 MB / 1.036 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004734/1.075, allocations: 386.7 kB / 1.036 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008937/1.076, allocations: 0.6376 MB / 1.037 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003976/1.08, allocations: 2.28 MB / 1.039 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/1.08, allocations: 0 / 1.039 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/1.08, allocations: 0 / 1.039 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.774e-05/1.08, allocations: 0 / 1.039 GB, free: 9.988 MB / 0.7794 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.00292/1.083, allocations: 1.517 MB / 1.041 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.083, allocations: 8.031 kB / 1.041 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/1.083, allocations: 139.5 kB / 1.041 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/1.085, allocations: 239 kB / 1.041 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/1.086, allocations: 0.9202 MB / 1.042 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/1.087, allocations: 192.7 kB / 1.042 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/1.087, allocations: 88 kB / 1.042 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/1.088, allocations: 0.9285 MB / 1.043 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/1.088, allocations: 0 / 1.043 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/1.088, allocations: 40 kB / 1.043 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/1.088, allocations: 24 kB / 1.043 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/1.089, allocations: 0.6323 MB / 1.044 GB, free: 5.109 MB / 0.7794 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.005408/1.095, allocations: 4.432 MB / 1.048 GB, free: 292 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/1.095, allocations: 182.6 kB / 1.048 GB, free: 100 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/1.096, allocations: 140.8 kB / 1.048 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/1.097, allocations: 1.028 MB / 1.049 GB, free: 14.71 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/1.097, allocations: 38.5 kB / 1.049 GB, free: 14.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=24): time 2.034e-06/1.097, allocations: 0 / 1.049 GB, free: 14.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=24): time 0.001496/1.098, allocations: 472.6 kB / 1.05 GB, free: 14.19 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/1.099, allocations: 59.39 kB / 1.05 GB, free: 14.12 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.1, allocations: 1.11 MB / 1.051 GB, free: 13 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/1.1, allocations: 29.7 kB / 1.051 GB, free: 12.96 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004918/1.101, allocations: 0.5087 MB / 1.052 GB, free: 12.45 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/1.101, allocations: 95.2 kB / 1.052 GB, free: 12.36 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/1.101, allocations: 102 kB / 1.052 GB, free: 12.25 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.101, allocations: 322 kB / 1.052 GB, free: 11.93 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/1.102, allocations: 130 kB / 1.052 GB, free: 11.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/1.102, allocations: 395 kB / 1.053 GB, free: 11.31 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/1.103, allocations: 463.6 kB / 1.053 GB, free: 10.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.103, allocations: 0 / 1.053 GB, free: 10.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001047/1.104, allocations: 0.5555 MB / 1.054 GB, free: 10.21 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.104, allocations: 8 kB / 1.054 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.104, allocations: 8 kB / 1.054 GB, free: 10.19 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/1.104, allocations: 8 kB / 1.054 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/1.104, allocations: 87.83 kB / 1.054 GB, free: 10.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/1.104, allocations: 11.98 kB / 1.054 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006983/1.105, allocations: 96.56 kB / 1.054 GB, free: 9.992 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/1.105, allocations: 27.98 kB / 1.054 GB, free: 9.965 MB / 0.795 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.0004492/1.106, allocations: 285.6 kB / 1.054 GB, free: 9.676 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/1.106, allocations: 111.3 kB / 1.054 GB, free: 9.566 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007556/1.106, allocations: 430.5 kB / 1.055 GB, free: 9.137 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.106, allocations: 0 / 1.055 GB, free: 9.137 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.106, allocations: 0 / 1.055 GB, free: 9.137 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/1.106, allocations: 7.984 kB / 1.055 GB, free: 9.129 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/1.109, allocations: 1.55 MB / 1.056 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.109, allocations: 4.875 kB / 1.056 GB, free: 7.465 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/1.109, allocations: 39.92 kB / 1.056 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/1.109, allocations: 4.562 kB / 1.056 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/1.109, allocations: 19.98 kB / 1.056 GB, free: 7.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/1.109, allocations: 7.938 kB / 1.056 GB, free: 7.395 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.109, allocations: 8 kB / 1.056 GB, free: 7.387 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/1.11, allocations: 0.5802 MB / 1.057 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/1.11, allocations: 248.2 kB / 1.057 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.11, allocations: 11.94 kB / 1.057 GB, free: 6.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/1.111, allocations: 15.98 kB / 1.057 GB, free: 6.449 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/1.111, allocations: 31.91 kB / 1.057 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/1.111, allocations: 16 kB / 1.057 GB, free: 6.402 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001091/1.112, allocations: 0.7783 MB / 1.058 GB, free: 5.617 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/1.112, allocations: 4 kB / 1.058 GB, free: 5.613 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009122/1.113, allocations: 279.4 kB / 1.058 GB, free: 5.34 MB / 0.795 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.001671/1.114, allocations: 1.354 MB / 1.059 GB, free: 3.914 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006764/1.115, allocations: 335.6 kB / 1.06 GB, free: 3.59 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.115, allocations: 0 / 1.06 GB, free: 3.59 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/1.115, allocations: 138.1 kB / 1.06 GB, free: 3.457 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.118, allocations: 0.5088 MB / 1.06 GB, free: 2.961 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.129, allocations: 7.445 MB / 1.068 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/1.13, allocations: 1.067 MB / 1.069 GB, free: 10 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001172/1.131, allocations: 195.6 kB / 1.069 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008436/1.132, allocations: 363.3 kB / 1.069 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of SimCode: time 9.32e-07/1.132, allocations: 0 / 1.069 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0721/1.204, allocations: 28.16 MB / 1.097 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.73, allocations: 11.98 kB / 1.097 GB, free: 13.62 MB / 0.8419 GB " [Timeout remaining time 648] (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: 15.972679628059268] Failed to read output from testmodel.py, exit status != 0: 11.823035239242017 11.843685301 10.759426135 Calling exit ...