Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_CheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.CheckValve,fileNamePrefix="IDEAS_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.01169/0.01169, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002803/0.002804, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.427/2.427, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.388/1.388, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003167/0.003167, allocations: 70.66 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2666, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.04261/0.3093, allocations: 20.74 MB / 0.6794 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01231/0.3217, allocations: 4.947 MB / 0.6843 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.323, allocations: 19.88 kB / 0.6843 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.3244, allocations: 278 kB / 0.6846 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.3284, allocations: 0.8098 MB / 0.6853 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.3318, allocations: 0.723 MB / 0.6861 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003438/0.3353, allocations: 1.38 MB / 0.6874 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.3363, allocations: 432.7 kB / 0.6878 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.338, allocations: 0.5797 MB / 0.6884 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3391, allocations: 442.1 kB / 0.6888 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.3393, allocations: 36 kB / 0.6888 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/0.3416, allocations: 0.6355 MB / 0.6895 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.3419, allocations: 131.4 kB / 0.6896 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005191/0.3424, allocations: 290.5 kB / 0.6899 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.3446, allocations: 0.8561 MB / 0.6907 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3446, allocations: 0 / 0.6907 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.48e-06/0.3446, allocations: 0 / 0.6907 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.3446, allocations: 3.938 kB / 0.6907 GB, free: 13.63 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.002542/0.3472, allocations: 0.9413 MB / 0.6916 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.3473, allocations: 12.03 kB / 0.6916 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.3474, allocations: 62.72 kB / 0.6917 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.3476, allocations: 68.52 kB / 0.6918 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.349, allocations: 494.8 kB / 0.6922 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/0.349, allocations: 24.66 kB / 0.6922 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.536e-05/0.3491, allocations: 39.94 kB / 0.6923 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.3502, allocations: 306 kB / 0.6926 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.3503, allocations: 0 / 0.6926 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.3503, allocations: 12 kB / 0.6926 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.3504, allocations: 4 kB / 0.6926 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.3514, allocations: 262.4 kB / 0.6928 GB, free: 11.33 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.003524/0.3549, allocations: 1.337 MB / 0.6942 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008707/0.3558, allocations: 259.1 kB / 0.6944 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005099/0.3564, allocations: 136.8 kB / 0.6945 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/0.3571, allocations: 0.4947 MB / 0.695 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/0.3572, allocations: 42.5 kB / 0.6951 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 3.296e-06/0.3572, allocations: 0 / 0.6951 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=25): time 0.002864/0.3601, allocations: 0.5617 MB / 0.6956 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.3601, allocations: 55.41 kB / 0.6957 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008657/0.361, allocations: 466.1 kB / 0.6961 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.3611, allocations: 33.7 kB / 0.6961 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.3614, allocations: 248.7 kB / 0.6964 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.3616, allocations: 87.2 kB / 0.6965 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.3618, allocations: 73.69 kB / 0.6965 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002447/0.362, allocations: 358.8 kB / 0.6969 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/0.3625, allocations: 124.8 kB / 0.697 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.3632, allocations: 185 kB / 0.6972 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.3642, allocations: 271.6 kB / 0.6974 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3643, allocations: 0 / 0.6974 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002565/0.3668, allocations: 0.4971 MB / 0.6979 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.3669, allocations: 4 kB / 0.6979 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3669, allocations: 0 / 0.6979 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/0.3675, allocations: 60.81 kB / 0.698 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.368, allocations: 63.95 kB / 0.698 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007431/0.3688, allocations: 0.5757 MB / 0.6986 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.3695, allocations: 47.78 kB / 0.6986 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.3696, allocations: 15.98 kB / 0.6986 GB, free: 5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007316/0.3704, allocations: 247.8 kB / 0.6989 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005979/0.371, allocations: 170.7 kB / 0.699 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009692/0.372, allocations: 262.3 kB / 0.6993 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.554e-06/0.372, allocations: 4 kB / 0.6993 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001357/0.3734, allocations: 371.5 kB / 0.6997 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3734, allocations: 9.656 kB / 0.6997 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3734, allocations: 4 kB / 0.6997 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.311e-06/0.3734, allocations: 0 / 0.6997 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.3741, allocations: 83.88 kB / 0.6997 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3741, allocations: 4 kB / 0.6998 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007128/0.3748, allocations: 43.84 kB / 0.6998 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.3749, allocations: 12 kB / 0.6998 GB, free: 3.781 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.0002713/0.3752, allocations: 196.2 kB / 0.7 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3753, allocations: 55.61 kB / 0.7 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.377, allocations: 429.2 kB / 0.7005 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.377, allocations: 8 kB / 0.7005 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.377, allocations: 0 / 0.7005 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.377, allocations: 0 / 0.7005 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.3796, allocations: 0.9442 MB / 0.7014 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.3796, allocations: 4 kB / 0.7014 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.38, allocations: 51.91 kB / 0.7014 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.3803, allocations: 36.83 kB / 0.7015 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.3804, allocations: 11.94 kB / 0.7015 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006428/0.3811, allocations: 0.5682 MB / 0.702 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.3811, allocations: 3.938 kB / 0.702 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.3825, allocations: 0.4931 MB / 0.7025 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003239/0.3828, allocations: 156.7 kB / 0.7027 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.383, allocations: 7.938 kB / 0.7027 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.3835, allocations: 23.97 kB / 0.7027 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3837, allocations: 31.91 kB / 0.7027 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.3837, allocations: 15.98 kB / 0.7028 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006622/0.3844, allocations: 318.9 kB / 0.7031 GB, free: 284 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7.51e-07/0.3844, allocations: 4 kB / 0.7031 GB, free: 280 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001442/0.3859, allocations: 247.5 kB / 0.7033 GB, free: 32 kB / 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.002764/0.3887, allocations: 1.176 MB / 0.7044 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.3908, allocations: 455.5 kB / 0.7049 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3908, allocations: 0 / 0.7049 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.3915, allocations: 171.7 kB / 0.705 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.3935, allocations: 230.3 kB / 0.7053 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.4054, allocations: 4.013 MB / 0.7092 GB, free: 9.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/0.4063, allocations: 0.8588 MB / 0.71 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009115/0.4072, allocations: 112.1 kB / 0.7101 GB, free: 8.863 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005023/0.4078, allocations: 171.4 kB / 0.7103 GB, free: 8.695 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/0.4078, allocations: 0 / 0.7103 GB, free: 8.695 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07398/0.4818, allocations: 15.02 MB / 0.725 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.42/19.9, allocations: 17 kB / 0.725 GB, free: 9.988 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FixedResistances_Examples_CheckValve.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)