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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009419, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7506/0.7506, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003556, allocations: 8 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4651, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2793/0.7444, allocations: 227.4 MB / 0.8052 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4358/1.18, allocations: 20.68 MB / 0.8254 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/1.182, allocations: 46.69 kB / 0.8254 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002057/1.184, allocations: 0.6382 MB / 0.8261 GB, free: 8.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003124/1.187, allocations: 1.163 MB / 0.8272 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003797/1.191, allocations: 1.343 MB / 0.8285 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003892/1.195, allocations: 2.979 MB / 0.8314 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/1.197, allocations: 0.9133 MB / 0.8323 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/1.199, allocations: 1.049 MB / 0.8333 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/1.201, allocations: 0.8156 MB / 0.8341 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/1.201, allocations: 34.25 kB / 0.8342 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/1.203, allocations: 0.9064 MB / 0.835 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/1.204, allocations: 276.2 kB / 0.8353 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004133/1.204, allocations: 262.2 kB / 0.8356 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/1.206, allocations: 1.568 MB / 0.8371 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.206, allocations: 1.859 kB / 0.8371 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.244e-06/1.206, allocations: 0 / 0.8371 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.992e-05/1.206, allocations: 4.375 kB / 0.8371 GB, free: 8.016 MB / 0.6387 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.002114/1.208, allocations: 1.244 MB / 0.8383 GB, free: 23.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.208, allocations: 10.36 kB / 0.8383 GB, free: 23.24 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/1.208, allocations: 141.6 kB / 0.8385 GB, free: 23.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.209, allocations: 232.6 kB / 0.8387 GB, free: 23.13 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/1.211, allocations: 0.8184 MB / 0.8395 GB, free: 22.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/1.211, allocations: 186.1 kB / 0.8397 GB, free: 22.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/1.211, allocations: 90.72 kB / 0.8397 GB, free: 22.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.212, allocations: 0.9262 MB / 0.8406 GB, free: 22.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/1.212, allocations: 1 kB / 0.8406 GB, free: 22.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/1.213, allocations: 35.16 kB / 0.8407 GB, free: 22.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/1.213, allocations: 21.81 kB / 0.8407 GB, free: 22.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/1.214, allocations: 0.6241 MB / 0.8413 GB, free: 22.57 MB / 0.6544 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.003877/1.217, allocations: 4.452 MB / 0.8457 GB, free: 19.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/1.218, allocations: 195.3 kB / 0.8458 GB, free: 19.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.218, allocations: 142.2 kB / 0.846 GB, free: 19.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009642/1.219, allocations: 1.021 MB / 0.847 GB, free: 18.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/1.219, allocations: 40.14 kB / 0.847 GB, free: 18.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.275e-06/1.219, allocations: 0 / 0.847 GB, free: 18.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0008586/1.22, allocations: 469.5 kB / 0.8475 GB, free: 18.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/1.22, allocations: 53.66 kB / 0.8475 GB, free: 18.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/1.221, allocations: 1.097 MB / 0.8486 GB, free: 18.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/1.221, allocations: 32.73 kB / 0.8486 GB, free: 18.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/1.221, allocations: 0.5067 MB / 0.8491 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/1.221, allocations: 83.58 kB / 0.8492 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/1.221, allocations: 5.875 kB / 0.8492 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.221, allocations: 320.8 kB / 0.8495 GB, free: 17.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/1.222, allocations: 130.8 kB / 0.8496 GB, free: 17.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/1.222, allocations: 385.8 kB / 0.85 GB, free: 17.42 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/1.222, allocations: 183.7 kB / 0.8502 GB, free: 17.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.222, allocations: 2.688 kB / 0.8502 GB, free: 17.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000716/1.223, allocations: 0.5361 MB / 0.8507 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.223, allocations: 9.891 kB / 0.8507 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.223, allocations: 13.34 kB / 0.8507 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.223, allocations: 12.08 kB / 0.8507 GB, free: 17.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/1.223, allocations: 91.83 kB / 0.8508 GB, free: 17.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/1.223, allocations: 17.8 kB / 0.8508 GB, free: 17.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/1.224, allocations: 125.7 kB / 0.851 GB, free: 17.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/1.224, allocations: 27.16 kB / 0.851 GB, free: 17.25 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003105/1.224, allocations: 290.5 kB / 0.8513 GB, free: 17.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/1.225, allocations: 97.56 kB / 0.8514 GB, free: 17.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005825/1.225, allocations: 432.8 kB / 0.8518 GB, free: 17.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.225, allocations: 2.562 kB / 0.8518 GB, free: 17.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.225, allocations: 0 / 0.8518 GB, free: 17.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.225, allocations: 9.906 kB / 0.8518 GB, free: 17 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/1.227, allocations: 1.54 MB / 0.8533 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.227, allocations: 6.031 kB / 0.8533 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/1.227, allocations: 45.55 kB / 0.8533 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/1.227, allocations: 8.375 kB / 0.8533 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/1.227, allocations: 5.281 kB / 0.8533 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/1.227, allocations: 13.11 kB / 0.8534 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.227, allocations: 7.922 kB / 0.8534 GB, free: 16.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/1.228, allocations: 0.5691 MB / 0.8539 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/1.228, allocations: 246.2 kB / 0.8542 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/1.228, allocations: 8.562 kB / 0.8542 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/1.228, allocations: 39.09 kB / 0.8542 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/1.228, allocations: 30.06 kB / 0.8542 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.228, allocations: 17.52 kB / 0.8542 GB, free: 16.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000794/1.229, allocations: 0.7688 MB / 0.855 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/1.229, allocations: 0 / 0.855 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008338/1.23, allocations: 279.6 kB / 0.8553 GB, free: 15.88 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/1.231, allocations: 1.322 MB / 0.8566 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005032/1.232, allocations: 328 kB / 0.8569 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.232, allocations: 2.625 kB / 0.8569 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/1.232, allocations: 144 kB / 0.857 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/1.234, allocations: 481.6 kB / 0.8575 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007022/1.241, allocations: 5.513 MB / 0.8628 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/1.242, allocations: 1.062 MB / 0.8639 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007525/1.242, allocations: 199.6 kB / 0.8641 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/1.243, allocations: 359.5 kB / 0.8644 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.505e-06/1.243, allocations: 3.156 kB / 0.8644 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04229/1.285, allocations: 26.49 MB / 0.8903 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/1.285, allocations: 234.5 kB / 0.8905 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.583, allocations: 0 / 0.8905 GB, free: 3.148 MB / 0.6544 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: