Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow",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.001105/0.001105, allocations: 97.48 kB / 15.36 MB, free: 0.7344 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.009351/0.009351, allocations: 170.8 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9256/0.9256, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.000305, allocations: 8 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.505/0.6703, allocations: 209.2 MB / 0.7924 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009729/0.6801, allocations: 7.046 MB / 0.7992 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.6818, allocations: 35.75 kB / 0.7993 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.6837, allocations: 0.6528 MB / 0.7999 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005528/0.6892, allocations: 2.351 MB / 0.8022 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002585/0.6918, allocations: 1.075 MB / 0.8033 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004473/0.6963, allocations: 3.741 MB / 0.8069 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001964/0.6983, allocations: 0.9025 MB / 0.8078 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004417/0.7027, allocations: 1.759 MB / 0.8095 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002228/0.705, allocations: 0.9026 MB / 0.8104 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002402/0.7052, allocations: 48 kB / 0.8104 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.7097, allocations: 2.802 MB / 0.8132 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.7101, allocations: 346.7 kB / 0.8135 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008357/0.711, allocations: 0.6234 MB / 0.8141 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003509/0.7145, allocations: 2.52 MB / 0.8166 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.7145, allocations: 0 / 0.8166 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7145, allocations: 4 kB / 0.8166 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.574e-05/0.7146, allocations: 0 / 0.8166 GB, free: 2.312 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004086/0.7187, allocations: 1.608 MB / 0.8182 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.7187, allocations: 8.031 kB / 0.8182 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002059/0.7189, allocations: 131.1 kB / 0.8183 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/0.722, allocations: 0.5877 MB / 0.8189 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.7236, allocations: 0.9525 MB / 0.8198 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006408/0.7243, allocations: 201.9 kB / 0.82 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.7245, allocations: 83.94 kB / 0.8201 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.7272, allocations: 1.276 MB / 0.8213 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.7272, allocations: 0 / 0.8213 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7273, allocations: 39.98 kB / 0.8213 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.7274, allocations: 45.92 kB / 0.8214 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.7311, allocations: 1.616 MB / 0.823 GB, free: 11.65 MB / 0.6387 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.006047/0.7371, allocations: 4.095 MB / 0.827 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.7396, allocations: 1.053 MB / 0.828 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/0.7412, allocations: 0.6982 MB / 0.8287 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.7422, allocations: 0.636 MB / 0.8293 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.7422, allocations: 43.2 kB / 0.8293 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.226e-06/0.7423, allocations: 0 / 0.8293 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004777/0.747, allocations: 1.925 MB / 0.8312 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.7471, allocations: 56.06 kB / 0.8313 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000919/0.748, allocations: 0.8231 MB / 0.8321 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/0.7481, allocations: 41.7 kB / 0.8321 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.7484, allocations: 436.6 kB / 0.8325 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.7486, allocations: 264.2 kB / 0.8328 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.7487, allocations: 61.69 kB / 0.8328 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7489, allocations: 333.9 kB / 0.8332 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.7504, allocations: 0.568 MB / 0.8337 GB, free: 172 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.7519, allocations: 0.7027 MB / 0.8344 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.7546, allocations: 1.221 MB / 0.8356 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7546, allocations: 0 / 0.8356 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003168/0.7578, allocations: 1.439 MB / 0.837 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/0.7579, allocations: 155 kB / 0.8371 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.7579, allocations: 3.984 kB / 0.8372 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7579, allocations: 8 kB / 0.8372 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.7594, allocations: 275.7 kB / 0.8374 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006983/0.7601, allocations: 1.188 MB / 0.8386 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.7614, allocations: 195.3 kB / 0.8388 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.61e-05/0.7615, allocations: 39.97 kB / 0.8388 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.7615, allocations: 4 kB / 0.8388 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003142/0.7646, allocations: 1.321 MB / 0.8401 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.7647, allocations: 12 kB / 0.8401 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.705e-06/0.7647, allocations: 4 kB / 0.8401 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.7658, allocations: 251.7 kB / 0.8404 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.7658, allocations: 4 kB / 0.8404 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.767, allocations: 195.1 kB / 0.8405 GB, free: 9.035 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.767, allocations: 36.67 kB / 0.8406 GB, free: 9 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000529/0.7676, allocations: 369 kB / 0.8409 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.7677, allocations: 110.8 kB / 0.841 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003324/0.7711, allocations: 1.449 MB / 0.8425 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.7711, allocations: 8 kB / 0.8425 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7711, allocations: 0 / 0.8425 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.7711, allocations: 7.984 kB / 0.8425 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005017/0.7761, allocations: 2.921 MB / 0.8453 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7762, allocations: 8.094 kB / 0.8453 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.7773, allocations: 243.7 kB / 0.8456 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.7773, allocations: 11.94 kB / 0.8456 GB, free: 3.766 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.7774, allocations: 19.98 kB / 0.8456 GB, free: 3.746 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005202/0.7779, allocations: 1.199 MB / 0.8468 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.7779, allocations: 4 kB / 0.8468 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.781, allocations: 1.537 MB / 0.8483 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.7814, allocations: 311.4 kB / 0.8486 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.7816, allocations: 20 kB / 0.8486 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.7827, allocations: 167.7 kB / 0.8487 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.7829, allocations: 52.5 kB / 0.8488 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.7829, allocations: 35.91 kB / 0.8488 GB, free: 308 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006503/0.7836, allocations: 0.5779 MB / 0.8494 GB, free: 15.71 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7836, allocations: 0 / 0.8494 GB, free: 15.71 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001194/0.7848, allocations: 0.5341 MB / 0.8499 GB, free: 15.17 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003745/0.7885, allocations: 2.255 MB / 0.8521 GB, free: 12.88 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004954/0.7935, allocations: 2.147 MB / 0.8542 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.7935, allocations: 8.062 kB / 0.8542 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.7951, allocations: 0.7104 MB / 0.8549 GB, free: 9.984 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.7979, allocations: 0.5054 MB / 0.8554 GB, free: 9.484 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2512/1.049, allocations: 9.686 MB / 0.8649 GB, free: 217.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/1.05, allocations: 1.092 MB / 0.8659 GB, free: 216.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001615/1.051, allocations: 391 kB / 0.8663 GB, free: 216.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/1.052, allocations: 391.7 kB / 0.8667 GB, free: 216.6 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/1.052, allocations: 2.844 kB / 0.8667 GB, free: 216.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5146/1.566, allocations: 27.47 MB / 0.8935 GB, free: 215.3 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/1.567, allocations: 298.7 kB / 0.8938 GB, free: 215 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/4.372, allocations: 0 / 0.8938 GB, free: 215 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)