Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.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.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",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.006138/0.006138, allocations: 103.7 kB / 15.74 MB, free: 6.039 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.00131/0.00131, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7861/0.7861, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 70.86 kB / 0.5852 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1522, allocations: 80.92 MB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState): time 0.6584/0.8106, allocations: 221.9 MB / 0.8808 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.8295, allocations: 13.74 MB / 0.8943 GB, free: 3.703 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.8327, allocations: 63.62 kB / 0.8943 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003572/0.8363, allocations: 0.8309 MB / 0.8951 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007718/0.8442, allocations: 2.24 MB / 0.8973 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.8475, allocations: 1.184 MB / 0.8985 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004425/0.8519, allocations: 2.88 MB / 0.9013 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.8538, allocations: 1.19 MB / 0.9025 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.8603, allocations: 2.511 MB / 0.9049 GB, free: 8.777 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.8626, allocations: 1.029 MB / 0.9059 GB, free: 7.766 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.8629, allocations: 96 kB / 0.906 GB, free: 7.672 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.8663, allocations: 1.598 MB / 0.9076 GB, free: 6.07 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004542/0.8668, allocations: 426.7 kB / 0.908 GB, free: 5.652 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008597/0.8677, allocations: 0.684 MB / 0.9086 GB, free: 4.965 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003266/0.8709, allocations: 2.091 MB / 0.9107 GB, free: 2.867 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8709, allocations: 0 / 0.9107 GB, free: 2.867 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.824e-06/0.871, allocations: 0 / 0.9107 GB, free: 2.867 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.871, allocations: 0 / 0.9107 GB, free: 2.867 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.002455/0.8734, allocations: 1.646 MB / 0.9123 GB, free: 1.168 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8735, allocations: 17.05 kB / 0.9123 GB, free: 1.152 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.8737, allocations: 139.6 kB / 0.9124 GB, free: 1.008 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/0.8758, allocations: 425.8 kB / 0.9128 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.8773, allocations: 0.9558 MB / 0.9138 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.8774, allocations: 66 kB / 0.9138 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.8775, allocations: 88 kB / 0.9139 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.8794, allocations: 1.231 MB / 0.9151 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.8795, allocations: 3.938 kB / 0.9151 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.8796, allocations: 40 kB / 0.9152 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.8796, allocations: 33.31 kB / 0.9152 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.8814, allocations: 0.8796 MB / 0.9161 GB, free: 13.14 MB / 0.6856 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.006727/0.8881, allocations: 6.013 MB / 0.9219 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004275/0.8886, allocations: 255.7 kB / 0.9222 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.8888, allocations: 149.1 kB / 0.9223 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.889, allocations: 97.09 kB / 0.9224 GB, free: 6.254 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.889, allocations: 42.55 kB / 0.9224 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006761/0.8897, allocations: 115 kB / 0.9226 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=20): time 2.594e-06/0.8897, allocations: 0 / 0.9226 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20): time 0.001196/0.8909, allocations: 476.1 kB / 0.923 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/0.891, allocations: 195.7 kB / 0.9232 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.8928, allocations: 1.304 MB / 0.9245 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.8929, allocations: 29.7 kB / 0.9245 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.8934, allocations: 0.6242 MB / 0.9251 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.8935, allocations: 78.98 kB / 0.9252 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.8937, allocations: 138 kB / 0.9253 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8939, allocations: 326 kB / 0.9256 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/0.8945, allocations: 240.9 kB / 0.9259 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/0.8953, allocations: 0.5519 MB / 0.9264 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.8963, allocations: 0.697 MB / 0.9271 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.8963, allocations: 4 kB / 0.9271 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001841/0.8982, allocations: 0.8513 MB / 0.9279 GB, free: 220 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.8982, allocations: 8 kB / 0.9279 GB, free: 212 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.8982, allocations: 12 kB / 0.9279 GB, free: 200 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.8983, allocations: 12 kB / 0.9279 GB, free: 188 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/0.899, allocations: 176.2 kB / 0.9281 GB, free: 12 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.805e-05/0.899, allocations: 24.95 kB / 0.9281 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.9002, allocations: 123.9 kB / 0.9283 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.9003, allocations: 39.98 kB / 0.9283 GB, free: 15.82 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (69): * Single equations (assignments): 69 * 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.0004087/0.9007, allocations: 293.5 kB / 0.9286 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.9009, allocations: 122.5 kB / 0.9287 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.9014, allocations: 296.2 kB / 0.929 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.9014, allocations: 4 kB / 0.929 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.9014, allocations: 3.938 kB / 0.929 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.9014, allocations: 4 kB / 0.929 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.9035, allocations: 1.674 MB / 0.9306 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.9035, allocations: 4 kB / 0.9306 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.9037, allocations: 36.3 kB / 0.9307 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.9037, allocations: 8 kB / 0.9307 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.9037, allocations: 8 kB / 0.9307 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.9037, allocations: 4 kB / 0.9307 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.9038, allocations: 7.938 kB / 0.9307 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.9043, allocations: 498.5 kB / 0.9312 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.9046, allocations: 239.5 kB / 0.9314 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.9047, allocations: 19.97 kB / 0.9314 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006597/0.9054, allocations: 43.95 kB / 0.9314 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.9054, allocations: 23.86 kB / 0.9315 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.9054, allocations: 12 kB / 0.9315 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00133/0.9068, allocations: 0.9081 MB / 0.9324 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9068, allocations: 0 / 0.9324 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008494/0.9076, allocations: 287.5 kB / 0.9326 GB, free: 11.16 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001075/0.9087, allocations: 1.128 MB / 0.9337 GB, free: 9.984 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009819/0.9097, allocations: 455.9 kB / 0.9342 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9097, allocations: 8.062 kB / 0.9342 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.9099, allocations: 104 kB / 0.9343 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.9121, allocations: 0.585 MB / 0.9349 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.9238, allocations: 8.099 MB / 0.9428 GB, free: 288 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/0.9246, allocations: 1.114 MB / 0.9439 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008033/0.9254, allocations: 241.6 kB / 0.9441 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/0.9259, allocations: 411.3 kB / 0.9445 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.082e-06/0.9259, allocations: 0 / 0.9445 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05682/0.9828, allocations: 27.56 MB / 0.9714 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.511/10.49, allocations: 0 / 0.9714 GB, free: 3.359 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)