Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.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.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_BoundaryWithX_in",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.008032/0.008032, allocations: 98.12 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.002061/0.002061, allocations: 195 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7366/0.7366, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 71.25 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1421, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5264/0.6686, allocations: 214 MB / 0.8682 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.6799, allocations: 12.16 MB / 0.8801 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.6815, allocations: 45.59 kB / 0.8801 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.6826, allocations: 0.5119 MB / 0.8806 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.6868, allocations: 1.964 MB / 0.8826 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.6908, allocations: 1.932 MB / 0.8844 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002394/0.6932, allocations: 2.357 MB / 0.8867 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.6945, allocations: 1.229 MB / 0.8879 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.6956, allocations: 0.8397 MB / 0.8888 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005692/0.6961, allocations: 0.653 MB / 0.8894 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.6963, allocations: 93.41 kB / 0.8895 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.7007, allocations: 2.716 MB / 0.8921 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.7011, allocations: 0.54 MB / 0.8927 GB, free: 244 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008087/0.7019, allocations: 0.7537 MB / 0.8934 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004306/0.7062, allocations: 3.15 MB / 0.8965 GB, free: 15 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7062, allocations: 0 / 0.8965 GB, free: 15 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7062, allocations: 0 / 0.8965 GB, free: 15 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.7063, allocations: 0 / 0.8965 GB, free: 15 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002287/0.7086, allocations: 1.798 MB / 0.8982 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7086, allocations: 11.55 kB / 0.8983 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.7088, allocations: 173.3 kB / 0.8984 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.7104, allocations: 377.5 kB / 0.8988 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.712, allocations: 0.9827 MB / 0.8997 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.712, allocations: 78.03 kB / 0.8998 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.7122, allocations: 100.5 kB / 0.8999 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.7141, allocations: 1.527 MB / 0.9014 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.7142, allocations: 4.625 kB / 0.9014 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.616e-05/0.7143, allocations: 49.69 kB / 0.9014 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.7144, allocations: 60.22 kB / 0.9015 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.7157, allocations: 1.021 MB / 0.9025 GB, free: 11.88 MB / 0.6544 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.005683/0.7214, allocations: 5.867 MB / 0.9082 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.7219, allocations: 323.2 kB / 0.9085 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.7222, allocations: 254.7 kB / 0.9088 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.7229, allocations: 0.7099 MB / 0.9095 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.7229, allocations: 37.94 kB / 0.9095 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.7229, allocations: 0 / 0.9095 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28): time 0.001189/0.7241, allocations: 0.6775 MB / 0.9102 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.7242, allocations: 132.1 kB / 0.9103 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.726, allocations: 1.681 MB / 0.9119 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.726, allocations: 34.92 kB / 0.912 GB, free: 4.582 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/0.7265, allocations: 0.5619 MB / 0.9125 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.7266, allocations: 101.1 kB / 0.9126 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.7267, allocations: 68.33 kB / 0.9127 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7268, allocations: 321.8 kB / 0.913 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.727, allocations: 154.9 kB / 0.9131 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.7274, allocations: 270.7 kB / 0.9134 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.7278, allocations: 415.1 kB / 0.9138 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7278, allocations: 0 / 0.9138 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006834/0.7285, allocations: 0.5482 MB / 0.9143 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7285, allocations: 6.312 kB / 0.9143 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7286, allocations: 1.281 kB / 0.9143 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.7286, allocations: 4.062 kB / 0.9143 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.7288, allocations: 55.61 kB / 0.9144 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7288, allocations: 5.078 kB / 0.9144 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.7294, allocations: 116.3 kB / 0.9145 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.7294, allocations: 19.91 kB / 0.9145 GB, free: 2.766 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 30 * 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.0004354/0.7299, allocations: 381.2 kB / 0.9149 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.7301, allocations: 149.2 kB / 0.915 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.7306, allocations: 391.3 kB / 0.9154 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7306, allocations: 6.844 kB / 0.9154 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.7306, allocations: 2.812 kB / 0.9154 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7307, allocations: 0 / 0.9154 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.7339, allocations: 2.51 MB / 0.9179 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7339, allocations: 5.781 kB / 0.9179 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.7341, allocations: 61.91 kB / 0.9179 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.7341, allocations: 8.312 kB / 0.9179 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.7341, allocations: 12 kB / 0.918 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.7341, allocations: 14.34 kB / 0.918 GB, free: 268 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.7342, allocations: 7.625 kB / 0.918 GB, free: 268 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.7349, allocations: 0.6454 MB / 0.9186 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.7354, allocations: 302.6 kB / 0.9189 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.7356, allocations: 17.47 kB / 0.9189 GB, free: 15.49 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.7359, allocations: 11.75 kB / 0.9189 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.736, allocations: 37.88 kB / 0.919 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.736, allocations: 14.59 kB / 0.919 GB, free: 15.46 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001495/0.7375, allocations: 1.227 MB / 0.9202 GB, free: 14.28 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7375, allocations: 0 / 0.9202 GB, free: 14.28 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001053/0.7386, allocations: 327.4 kB / 0.9205 GB, free: 13.96 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.002217/0.7408, allocations: 1.677 MB / 0.9221 GB, free: 12.21 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005489/0.7414, allocations: 345.6 kB / 0.9224 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7414, allocations: 4 kB / 0.9225 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.7416, allocations: 158.6 kB / 0.9226 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003744/0.7453, allocations: 0.927 MB / 0.9235 GB, free: 10.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.7578, allocations: 10.52 MB / 0.9338 GB, free: 116 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/0.7587, allocations: 1.208 MB / 0.935 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008854/0.7595, allocations: 298.7 kB / 0.9353 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005014/0.7601, allocations: 459.3 kB / 0.9357 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of SimCode: time 9.01e-07/0.7601, allocations: 0 / 0.9357 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0707/0.8308, allocations: 44.02 MB / 0.9787 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.817/10.65, allocations: 6.438 kB / 0.9787 GB, free: 2.613 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in_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_Sources_Validation_BoundaryWithX_in.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)