Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.011/0.011, allocations: 102.1 kB / 15.73 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.00209/0.00209, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.468/2.468, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.301/1.301, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 66.73 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2825, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01941/0.302, allocations: 10.13 MB / 0.6691 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.3068, allocations: 2.222 MB / 0.6712 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/0.3074, allocations: 11.94 kB / 0.6712 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.3081, allocations: 87.31 kB / 0.6713 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.3094, allocations: 254.7 kB / 0.6716 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.3107, allocations: 230.8 kB / 0.6718 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009992/0.3117, allocations: 447.5 kB / 0.6722 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.3122, allocations: 131 kB / 0.6723 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008262/0.3131, allocations: 207.1 kB / 0.6725 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.3134, allocations: 127.4 kB / 0.6727 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.3135, allocations: 8 kB / 0.6727 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.3142, allocations: 163.7 kB / 0.6728 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3144, allocations: 39.84 kB / 0.6729 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.3147, allocations: 67.61 kB / 0.6729 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.3154, allocations: 256.1 kB / 0.6732 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3154, allocations: 4 kB / 0.6732 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3154, allocations: 0 / 0.6732 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.3154, allocations: 4 kB / 0.6732 GB, free: 12.36 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001284/0.3167, allocations: 474.7 kB / 0.6736 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.573e-05/0.3168, allocations: 12.03 kB / 0.6736 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.3169, allocations: 42.73 kB / 0.6737 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.317, allocations: 20.75 kB / 0.6737 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.3175, allocations: 256.4 kB / 0.6739 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3176, allocations: 11.94 kB / 0.674 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.3176, allocations: 15.94 kB / 0.674 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.3181, allocations: 139.3 kB / 0.6741 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3182, allocations: 0 / 0.6741 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3182, allocations: 0 / 0.6741 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3182, allocations: 8 kB / 0.6741 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.3186, allocations: 95.81 kB / 0.6742 GB, free: 11.2 MB / 0.5137 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.001301/0.32, allocations: 0.5392 MB / 0.6747 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.3203, allocations: 93.11 kB / 0.6748 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.3205, allocations: 57.81 kB / 0.6749 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004754/0.321, allocations: 336.4 kB / 0.6752 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.321, allocations: 34.56 kB / 0.6752 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.3211, allocations: 0 / 0.6752 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0008418/0.3219, allocations: 157.4 kB / 0.6754 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/0.322, allocations: 81.11 kB / 0.6755 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.3224, allocations: 187.8 kB / 0.6756 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.3224, allocations: 25.7 kB / 0.6757 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3226, allocations: 128.2 kB / 0.6758 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.3227, allocations: 23.78 kB / 0.6758 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.3228, allocations: 25.7 kB / 0.6758 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002918/0.3231, allocations: 322.8 kB / 0.6761 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3234, allocations: 31.97 kB / 0.6762 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.3237, allocations: 71.39 kB / 0.6762 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.3242, allocations: 102.4 kB / 0.6763 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3242, allocations: 0 / 0.6763 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006061/0.3248, allocations: 129.4 kB / 0.6765 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.3248, allocations: 8 kB / 0.6765 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3249, allocations: 0 / 0.6765 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.24e-05/0.3249, allocations: 4 kB / 0.6765 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.3253, allocations: 35.95 kB / 0.6765 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.3254, allocations: 4 kB / 0.6765 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.3256, allocations: 15.92 kB / 0.6765 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3256, allocations: 4 kB / 0.6765 GB, free: 8.57 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0002094/0.3259, allocations: 133.8 kB / 0.6767 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.326, allocations: 15.81 kB / 0.6767 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.3264, allocations: 129.4 kB / 0.6768 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/0.3265, allocations: 0 / 0.6768 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3265, allocations: 0 / 0.6768 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3265, allocations: 0 / 0.6768 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.3275, allocations: 485 kB / 0.6773 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.3275, allocations: 144 / 0.6773 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.3278, allocations: 35.95 kB / 0.6773 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.3279, allocations: 7.922 kB / 0.6773 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.3279, allocations: 11.94 kB / 0.6773 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.3279, allocations: 3.938 kB / 0.6773 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.3279, allocations: 11.92 kB / 0.6773 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/0.3286, allocations: 340.6 kB / 0.6776 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.3288, allocations: 100.9 kB / 0.6777 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.3289, allocations: 3.984 kB / 0.6777 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.3291, allocations: 8 kB / 0.6778 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.3292, allocations: 19.86 kB / 0.6778 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.3293, allocations: 4 kB / 0.6778 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002111/0.3295, allocations: 140.9 kB / 0.6779 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3295, allocations: 0 / 0.6779 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007207/0.3302, allocations: 51.94 kB / 0.678 GB, free: 6.984 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00182/0.3321, allocations: 0.9473 MB / 0.6789 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005323/0.3326, allocations: 103.8 kB / 0.679 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3326, allocations: 0 / 0.679 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.3329, allocations: 63.89 kB / 0.679 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.334, allocations: 84.52 kB / 0.6791 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.3386, allocations: 1.966 MB / 0.681 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.3392, allocations: 0.728 MB / 0.6818 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002065/0.3394, allocations: 34.05 kB / 0.6818 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.3396, allocations: 43.42 kB / 0.6818 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of SimCode: time 1.413e-06/0.3396, allocations: 0 / 0.6818 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04204/0.3816, allocations: 5.323 MB / 0.687 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.39, allocations: 3.578 kB / 0.687 GB, free: 13.7 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > IDEAS_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)