Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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-master/package.mo", uses=false) 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.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.0008025/0.0008024, allocations: 91.84 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.0013/0.0013, 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.396/1.396, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9215/0.9215, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 17.34 kB / 0.5071 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1755, allocations: 82.3 MB / 0.5875 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5753/0.7509, allocations: 180.9 MB / 0.7641 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.7651, allocations: 9.673 MB / 0.7736 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.7671, allocations: 47.69 kB / 0.7736 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.7685, allocations: 393.2 kB / 0.774 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.7735, allocations: 1.45 MB / 0.7754 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.7767, allocations: 1.043 MB / 0.7764 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004079/0.7808, allocations: 3.135 MB / 0.7795 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.7825, allocations: 0.8676 MB / 0.7803 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/0.7857, allocations: 1.315 MB / 0.7816 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.7873, allocations: 0.8674 MB / 0.7825 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002852/0.7876, allocations: 48 kB / 0.7825 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.7911, allocations: 1.314 MB / 0.7838 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005392/0.7917, allocations: 338.8 kB / 0.7841 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006004/0.7923, allocations: 273 kB / 0.7844 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.7951, allocations: 1.672 MB / 0.786 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7951, allocations: 0 / 0.786 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7951, allocations: 0 / 0.786 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.651e-05/0.7952, allocations: 0 / 0.786 GB, free: 1.582 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002994/0.7982, allocations: 1.576 MB / 0.7875 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.7982, allocations: 12.03 kB / 0.7876 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000303/0.7985, allocations: 156.2 kB / 0.7877 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.8008, allocations: 370.4 kB / 0.7881 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.8027, allocations: 0.8824 MB / 0.7889 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.8028, allocations: 74 kB / 0.789 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.8029, allocations: 108 kB / 0.7891 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.8048, allocations: 1.095 MB / 0.7902 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.8049, allocations: 11.48 kB / 0.7902 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.276e-05/0.805, allocations: 40 kB / 0.7902 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.805, allocations: 38 kB / 0.7902 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.8065, allocations: 0.7962 MB / 0.791 GB, free: 12.28 MB / 0.6075 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.005673/0.8122, allocations: 5.074 MB / 0.796 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.8134, allocations: 0.6993 MB / 0.7967 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/0.814, allocations: 357 kB / 0.797 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.8145, allocations: 327.7 kB / 0.7973 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.8146, allocations: 39.12 kB / 0.7974 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=70): time 3.657e-06/0.8146, allocations: 3.984 kB / 0.7974 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=70): time 0.00184/0.8164, allocations: 0.9349 MB / 0.7983 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.8165, allocations: 55.97 kB / 0.7983 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.8175, allocations: 0.8763 MB / 0.7992 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.589e-05/0.8176, allocations: 41.7 kB / 0.7992 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.818, allocations: 0.5508 MB / 0.7998 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.8182, allocations: 252.3 kB / 0.8 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.8183, allocations: 16 kB / 0.8 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8184, allocations: 337.9 kB / 0.8003 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.8189, allocations: 249.8 kB / 0.8006 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.8195, allocations: 443.1 kB / 0.801 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.82, allocations: 307.1 kB / 0.8013 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.82, allocations: 4 kB / 0.8013 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001376/0.8214, allocations: 0.8237 MB / 0.8021 GB, free: 392 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.8216, allocations: 237.5 kB / 0.8023 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8216, allocations: 4 kB / 0.8023 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.8216, allocations: 12 kB / 0.8023 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.8231, allocations: 251.7 kB / 0.8026 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.8244, allocations: 1.387 MB / 0.8039 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000835/0.8252, allocations: 123.1 kB / 0.804 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.8253, allocations: 35.98 kB / 0.8041 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.8253, allocations: 4 kB / 0.8041 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/0.8265, allocations: 0.6988 MB / 0.8048 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.8265, allocations: 8.125 kB / 0.8048 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.8265, allocations: 11.94 kB / 0.8048 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.8279, allocations: 247.7 kB / 0.805 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.8291, allocations: 1.399 MB / 0.8064 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.8299, allocations: 110.1 kB / 0.8065 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/0.83, allocations: 35.98 kB / 0.8065 GB, free: 11.5 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005055/0.8305, allocations: 375.7 kB / 0.8069 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.8306, allocations: 106.7 kB / 0.807 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.8323, allocations: 0.7839 MB / 0.8078 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.8323, allocations: 8 kB / 0.8078 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8323, allocations: 1.375 kB / 0.8078 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/0.8335, allocations: 0.7078 MB / 0.8085 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.8366, allocations: 1.926 MB / 0.8103 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8366, allocations: 3.938 kB / 0.8103 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.8373, allocations: 143.9 kB / 0.8105 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.8378, allocations: 52.97 kB / 0.8105 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/0.8378, allocations: 16 kB / 0.8105 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.8392, allocations: 1.346 MB / 0.8119 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8392, allocations: 0 / 0.8119 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.8414, allocations: 1.254 MB / 0.8131 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.8418, allocations: 251.6 kB / 0.8133 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.842, allocations: 12 kB / 0.8133 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006525/0.8427, allocations: 69.27 kB / 0.8134 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.8428, allocations: 60.33 kB / 0.8135 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.8428, allocations: 23.98 kB / 0.8135 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007815/0.8436, allocations: 0.5889 MB / 0.8141 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8436, allocations: 0 / 0.8141 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001431/0.845, allocations: 0.5297 MB / 0.8146 GB, free: 2.934 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002696/0.8477, allocations: 1.909 MB / 0.8164 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003367/0.8511, allocations: 1.174 MB / 0.8176 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8511, allocations: 0 / 0.8176 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007238/0.8519, allocations: 458 kB / 0.818 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.8542, allocations: 0.5034 MB / 0.8185 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.8649, allocations: 6.617 MB / 0.825 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/0.8657, allocations: 1.136 MB / 0.8261 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001119/0.8668, allocations: 268.8 kB / 0.8263 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/0.8674, allocations: 467.2 kB / 0.8268 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of SimCode: time 9.82e-07/0.8674, allocations: 4 kB / 0.8268 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0801/0.9476, allocations: 26.74 MB / 0.8529 GB, free: 11.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.9479, allocations: 259.9 kB / 0.8532 GB, free: 11.36 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.425, allocations: 0 / 0.8532 GB, free: 11.36 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) Environment - environmentSimulation: