Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001739/0.001739, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002396/0.002396, allocations: 189.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.014/2.014, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.549/1.549, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 64.55 kB / 0.505 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.281, allocations: 80.93 MB / 0.584 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.892/1.173, allocations: 184.6 MB / 0.7643 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02886/1.202, allocations: 12.9 MB / 0.7769 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002127/1.204, allocations: 27.81 kB / 0.7769 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002509/1.207, allocations: 358.1 kB / 0.7773 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005166/1.212, allocations: 0.8635 MB / 0.7781 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/1.216, allocations: 0.6273 MB / 0.7787 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003864/1.219, allocations: 1.502 MB / 0.7802 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/1.221, allocations: 0.6204 MB / 0.7808 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006891/1.228, allocations: 1.685 MB / 0.7824 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/1.231, allocations: 0.5337 MB / 0.783 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/1.231, allocations: 52 kB / 0.783 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003195/1.234, allocations: 0.9081 MB / 0.7839 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006157/1.235, allocations: 279.2 kB / 0.7842 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.236, allocations: 394 kB / 0.7845 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/1.239, allocations: 1.2 MB / 0.7857 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.239, allocations: 0 / 0.7857 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.634e-06/1.239, allocations: 0 / 0.7857 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.942e-05/1.239, allocations: 0 / 0.7857 GB, free: 14.64 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.0031/1.242, allocations: 1.054 MB / 0.7867 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.537e-05/1.242, allocations: 8.031 kB / 0.7867 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/1.243, allocations: 106.4 kB / 0.7868 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/1.244, allocations: 190.8 kB / 0.787 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/1.246, allocations: 0.5169 MB / 0.7875 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005883/1.247, allocations: 109.2 kB / 0.7876 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.247, allocations: 56 kB / 0.7877 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/1.249, allocations: 0.7674 MB / 0.7884 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/1.249, allocations: 3.938 kB / 0.7884 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/1.249, allocations: 28 kB / 0.7885 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.236e-05/1.249, allocations: 21 kB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/1.251, allocations: 467.3 kB / 0.7889 GB, free: 11.14 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.007079/1.258, allocations: 4.172 MB / 0.793 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/1.258, allocations: 106.4 kB / 0.7931 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/1.259, allocations: 75.52 kB / 0.7932 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/1.259, allocations: 101.1 kB / 0.7933 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/1.259, allocations: 42.48 kB / 0.7933 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 3.897e-06/1.259, allocations: 0 / 0.7933 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.00124/1.26, allocations: 236.9 kB / 0.7935 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/1.26, allocations: 132.5 kB / 0.7937 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/1.262, allocations: 0.8368 MB / 0.7945 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/1.262, allocations: 33.7 kB / 0.7945 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004941/1.263, allocations: 391 kB / 0.7949 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/1.263, allocations: 43.45 kB / 0.7949 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/1.263, allocations: 89.53 kB / 0.795 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.263, allocations: 318 kB / 0.7953 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/1.264, allocations: 107.9 kB / 0.7954 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/1.265, allocations: 345.8 kB / 0.7958 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/1.266, allocations: 419.1 kB / 0.7962 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/1.266, allocations: 0 / 0.7962 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001797/1.268, allocations: 484.1 kB / 0.7966 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/1.268, allocations: 10.62 kB / 0.7966 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/1.268, allocations: 8 kB / 0.7966 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/1.268, allocations: 12 kB / 0.7966 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/1.268, allocations: 95.83 kB / 0.7967 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.184e-05/1.268, allocations: 15.92 kB / 0.7968 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.27, allocations: 125.4 kB / 0.7969 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/1.27, allocations: 24 kB / 0.7969 GB, free: 2.41 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.0004831/1.27, allocations: 233.6 kB / 0.7971 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/1.271, allocations: 75.06 kB / 0.7972 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/1.271, allocations: 70.09 kB / 0.7973 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/1.271, allocations: 4 kB / 0.7973 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.271, allocations: 3.938 kB / 0.7973 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/1.271, allocations: 4 kB / 0.7973 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/1.273, allocations: 1.128 MB / 0.7984 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.273, allocations: 4.062 kB / 0.7984 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/1.274, allocations: 19.98 kB / 0.7984 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/1.274, allocations: 4 kB / 0.7984 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/1.274, allocations: 4 kB / 0.7984 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/1.274, allocations: 3.938 kB / 0.7984 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/1.274, allocations: 10.28 kB / 0.7984 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005926/1.274, allocations: 255.9 kB / 0.7987 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/1.275, allocations: 176.1 kB / 0.7988 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/1.275, allocations: 8 kB / 0.7988 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006759/1.276, allocations: 19.98 kB / 0.7989 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/1.276, allocations: 20.73 kB / 0.7989 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/1.276, allocations: 4 kB / 0.7989 GB, free: 220 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001609/1.277, allocations: 0.5888 MB / 0.7995 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.9e-07/1.277, allocations: 0 / 0.7995 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001139/1.279, allocations: 147.9 kB / 0.7996 GB, free: 15.49 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.001489/1.28, allocations: 0.8898 MB / 0.8005 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009094/1.281, allocations: 233.3 kB / 0.8007 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.281, allocations: 8 kB / 0.8007 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/1.281, allocations: 43.92 kB / 0.8007 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.284, allocations: 387.4 kB / 0.8011 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.299, allocations: 5.784 MB / 0.8068 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/1.299, allocations: 0.937 MB / 0.8077 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001116/1.301, allocations: 142 kB / 0.8078 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/1.301, allocations: 231.4 kB / 0.808 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of SimCode: time 2.134e-06/1.301, allocations: 0 / 0.808 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/1.423, allocations: 17.54 MB / 0.8252 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000397/1.423, allocations: 277.4 kB / 0.8254 GB, free: 5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.63/5.053, allocations: 3.516 kB / 0.8254 GB, free: 5 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)