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.0007003/0.0007003, allocations: 97.72 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.004687/0.004687, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8535/0.8535, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 8 kB / 0.5077 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 82.31 MB / 0.5881 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4648/0.609, allocations: 182.4 MB / 0.7662 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.624, allocations: 12.9 MB / 0.7788 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.6251, allocations: 23.88 kB / 0.7788 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.6261, allocations: 342 kB / 0.7791 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.6283, allocations: 0.8674 MB / 0.78 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.6299, allocations: 0.612 MB / 0.7806 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002357/0.6323, allocations: 2.11 MB / 0.7826 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007215/0.633, allocations: 0.5364 MB / 0.7832 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.6367, allocations: 1.564 MB / 0.7847 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.6381, allocations: 0.5082 MB / 0.7852 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.6382, allocations: 24 kB / 0.7852 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.64, allocations: 0.9587 MB / 0.7861 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.6402, allocations: 247.3 kB / 0.7864 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003556/0.6406, allocations: 375.7 kB / 0.7867 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.6419, allocations: 1.164 MB / 0.7879 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6419, allocations: 0 / 0.7879 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.325e-06/0.6419, allocations: 0 / 0.7879 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.6419, allocations: 0 / 0.7879 GB, free: 15.7 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.001347/0.6433, allocations: 0.9175 MB / 0.7888 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.6433, allocations: 12.03 kB / 0.7888 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.6434, allocations: 114.4 kB / 0.7889 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009044/0.6444, allocations: 194.8 kB / 0.7891 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.6451, allocations: 0.5247 MB / 0.7896 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.6454, allocations: 109.2 kB / 0.7897 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/0.6455, allocations: 55.98 kB / 0.7897 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.6467, allocations: 0.7752 MB / 0.7905 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.6468, allocations: 7.938 kB / 0.7905 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.6468, allocations: 28 kB / 0.7905 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.6469, allocations: 21 kB / 0.7906 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009212/0.6478, allocations: 483.3 kB / 0.791 GB, free: 12.29 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.003617/0.6514, allocations: 4.175 MB / 0.7951 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.6516, allocations: 102.4 kB / 0.7952 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.6517, allocations: 79.48 kB / 0.7953 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.6518, allocations: 97.09 kB / 0.7954 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.6519, allocations: 30.56 kB / 0.7954 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.825e-06/0.6519, allocations: 0 / 0.7954 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006415/0.6525, allocations: 248.6 kB / 0.7956 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.6526, allocations: 128.5 kB / 0.7958 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.6537, allocations: 0.8448 MB / 0.7966 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.6538, allocations: 29.7 kB / 0.7966 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.6541, allocations: 395 kB / 0.797 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.6541, allocations: 47.44 kB / 0.797 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/0.6542, allocations: 29.7 kB / 0.7971 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.6543, allocations: 326 kB / 0.7974 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.6545, allocations: 111.9 kB / 0.7975 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/0.655, allocations: 353.8 kB / 0.7978 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.6555, allocations: 415 kB / 0.7982 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6555, allocations: 4 kB / 0.7982 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008947/0.6564, allocations: 496.8 kB / 0.7987 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.6564, allocations: 8 kB / 0.7987 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.6565, allocations: 12.03 kB / 0.7987 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6565, allocations: 8 kB / 0.7987 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.6568, allocations: 95.83 kB / 0.7988 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/0.6568, allocations: 19.86 kB / 0.7988 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.6575, allocations: 131.1 kB / 0.7989 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.6575, allocations: 24 kB / 0.799 GB, free: 3.562 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.0002308/0.6578, allocations: 229.6 kB / 0.7992 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.6579, allocations: 67.16 kB / 0.7993 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.658, allocations: 74.09 kB / 0.7993 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.658, allocations: 4 kB / 0.7993 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.658, allocations: 7.938 kB / 0.7993 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.658, allocations: 480 / 0.7993 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.6593, allocations: 1.124 MB / 0.8004 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6593, allocations: 128 / 0.8004 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.377e-05/0.6594, allocations: 31.86 kB / 0.8005 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.6594, allocations: 4 kB / 0.8005 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.6594, allocations: 0 / 0.8005 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6594, allocations: 4 kB / 0.8005 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.6594, allocations: 4 kB / 0.8005 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.6597, allocations: 272 kB / 0.8007 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.6599, allocations: 172.2 kB / 0.8009 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/0.66, allocations: 4 kB / 0.8009 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.6603, allocations: 23.98 kB / 0.8009 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.6604, allocations: 15.92 kB / 0.8009 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.6604, allocations: 8 kB / 0.8009 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007768/0.6612, allocations: 0.5888 MB / 0.8015 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6612, allocations: 0 / 0.8015 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005334/0.6617, allocations: 155.8 kB / 0.8017 GB, free: 0.625 MB / 0.6075 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.0008799/0.6626, allocations: 0.8988 MB / 0.8026 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005127/0.6631, allocations: 233 kB / 0.8028 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6631, allocations: 0 / 0.8028 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.213e-05/0.6632, allocations: 52.72 kB / 0.8028 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.6651, allocations: 375.6 kB / 0.8032 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007252/0.6723, allocations: 5.832 MB / 0.8089 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.6728, allocations: 0.9409 MB / 0.8098 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005069/0.6733, allocations: 138.1 kB / 0.8099 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.6736, allocations: 235.3 kB / 0.8102 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of SimCode: time 8.11e-07/0.6736, allocations: 0 / 0.8102 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.049/2.723, allocations: 17.29 MB / 0.827 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/2.723, allocations: 266.3 kB / 0.8273 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.839/6.562, allocations: 3.094 kB / 0.8273 GB, free: 6.32 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)