Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve",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.004475/0.004475, allocations: 98.52 kB / 15.73 MB, free: 6.004 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.001131/0.001132, allocations: 191 kB / 16.67 MB, free: 5.934 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9013/0.9013, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3276, allocations: 80.92 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01839/0.3461, allocations: 20.75 MB / 0.6844 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006438/0.3525, allocations: 4.941 MB / 0.6892 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003548/0.3529, allocations: 18.44 kB / 0.6893 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006605/0.3536, allocations: 283.2 kB / 0.6895 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.3552, allocations: 0.8581 MB / 0.6904 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.3569, allocations: 0.7108 MB / 0.6911 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.3583, allocations: 1.385 MB / 0.6924 GB, free: 340 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005969/0.3589, allocations: 436.8 kB / 0.6928 GB, free: 68 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008258/0.3597, allocations: 0.5879 MB / 0.6934 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005411/0.3603, allocations: 440.4 kB / 0.6938 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.639e-05/0.3604, allocations: 38.72 kB / 0.6939 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.3615, allocations: 0.6341 MB / 0.6945 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.3616, allocations: 126.7 kB / 0.6946 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.362, allocations: 291.7 kB / 0.6949 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.3631, allocations: 0.8635 MB / 0.6957 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3631, allocations: 0 / 0.6957 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3632, allocations: 0 / 0.6957 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.3632, allocations: 0 / 0.6957 GB, free: 14.29 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001513/0.3647, allocations: 0.9371 MB / 0.6966 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3647, allocations: 9.219 kB / 0.6966 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.176e-05/0.3648, allocations: 73.59 kB / 0.6967 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3649, allocations: 67.77 kB / 0.6968 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007217/0.3657, allocations: 486 kB / 0.6972 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3657, allocations: 23.41 kB / 0.6973 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.3658, allocations: 35.69 kB / 0.6973 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.3664, allocations: 310.5 kB / 0.6976 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3665, allocations: 0 / 0.6976 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.3665, allocations: 11.56 kB / 0.6976 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3665, allocations: 10.14 kB / 0.6976 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.3672, allocations: 263.6 kB / 0.6979 GB, free: 12.66 MB / 0.5294 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.002164/0.3694, allocations: 1.339 MB / 0.6992 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/0.3699, allocations: 264.4 kB / 0.6994 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.3702, allocations: 137 kB / 0.6996 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/0.3707, allocations: 0.4959 MB / 0.7 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.3707, allocations: 39.94 kB / 0.7001 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.503e-06/0.3707, allocations: 0 / 0.7001 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.001814/0.3725, allocations: 0.5615 MB / 0.7006 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3726, allocations: 58.94 kB / 0.7007 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.3731, allocations: 464.8 kB / 0.7011 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3731, allocations: 33.05 kB / 0.7012 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.3733, allocations: 255.8 kB / 0.7014 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.3734, allocations: 88.42 kB / 0.7015 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.3735, allocations: 74.31 kB / 0.7016 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3737, allocations: 357.7 kB / 0.7019 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.374, allocations: 126.5 kB / 0.702 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.3744, allocations: 182.6 kB / 0.7022 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.3751, allocations: 270.5 kB / 0.7024 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3751, allocations: 0 / 0.7024 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001632/0.3767, allocations: 494.9 kB / 0.7029 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3768, allocations: 7.75 kB / 0.7029 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3768, allocations: 1.156 kB / 0.7029 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.3771, allocations: 54 kB / 0.703 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.3775, allocations: 65.55 kB / 0.703 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004492/0.378, allocations: 0.5794 MB / 0.7036 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.3784, allocations: 50.11 kB / 0.7037 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.865e-05/0.3785, allocations: 15 kB / 0.7037 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004304/0.3789, allocations: 240.5 kB / 0.7039 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003582/0.3793, allocations: 177.6 kB / 0.7041 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005997/0.3799, allocations: 262.2 kB / 0.7043 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.3799, allocations: 4 kB / 0.7043 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0008214/0.3808, allocations: 367.2 kB / 0.7047 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3808, allocations: 9.719 kB / 0.7047 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.3808, allocations: 0 / 0.7047 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-06/0.3808, allocations: 2.656 kB / 0.7047 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.3812, allocations: 82.53 kB / 0.7048 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3812, allocations: 8.141 kB / 0.7048 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.3817, allocations: 47.84 kB / 0.7048 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.3817, allocations: 12 kB / 0.7048 GB, free: 7.309 MB / 0.5294 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.3818, allocations: 192.2 kB / 0.705 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.3819, allocations: 59.59 kB / 0.7051 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.3829, allocations: 427.9 kB / 0.7055 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3829, allocations: 4 kB / 0.7055 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3829, allocations: 7.875 kB / 0.7055 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3829, allocations: 0 / 0.7055 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.3845, allocations: 0.9531 MB / 0.7064 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3845, allocations: 4 kB / 0.7064 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.3847, allocations: 43.97 kB / 0.7065 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.3849, allocations: 40.77 kB / 0.7065 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.3849, allocations: 8 kB / 0.7065 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003506/0.3853, allocations: 0.5681 MB / 0.7071 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3853, allocations: 0 / 0.7071 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008244/0.3861, allocations: 495.3 kB / 0.7075 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.3863, allocations: 148.7 kB / 0.7077 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.3864, allocations: 11.94 kB / 0.7077 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.3868, allocations: 27.95 kB / 0.7077 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.3868, allocations: 19.98 kB / 0.7077 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.3869, allocations: 19.98 kB / 0.7078 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003434/0.3872, allocations: 318.9 kB / 0.7081 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3872, allocations: 0 / 0.7081 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007367/0.388, allocations: 255.4 kB / 0.7083 GB, free: 3.578 MB / 0.5294 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/0.3894, allocations: 1.19 MB / 0.7095 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.3906, allocations: 466.6 kB / 0.7099 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3906, allocations: 0 / 0.7099 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.3911, allocations: 167.8 kB / 0.7101 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3922, allocations: 212.8 kB / 0.7103 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00633/0.3985, allocations: 4.025 MB / 0.7142 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.3989, allocations: 0.8588 MB / 0.715 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003774/0.3993, allocations: 112.1 kB / 0.7152 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.3996, allocations: 175.4 kB / 0.7153 GB, free: 12.21 MB / 0.545 GB Notification: Performance of SimCode: time 1.934e-06/0.3996, allocations: 0 / 0.7153 GB, free: 12.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.436, allocations: 15.04 MB / 0.73 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.7, allocations: 4 kB / 0.73 GB, free: 13.45 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)