Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",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.01009/0.01009, allocations: 98.56 kB / 15.73 MB, free: 5.949 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.002134/0.002134, allocations: 196.6 kB / 16.68 MB, free: 5.871 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.19/2.19, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.316/1.316, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 71.31 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2549, allocations: 80.2 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.9885/1.244, allocations: 161.3 MB / 0.8167 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00318/1.247, allocations: 0.9684 MB / 0.8177 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003577/1.247, allocations: 8.688 kB / 0.8177 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009295/1.248, allocations: 159 kB / 0.8178 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002492/1.251, allocations: 0.6326 MB / 0.8184 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/1.252, allocations: 230.9 kB / 0.8187 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009718/1.253, allocations: 0.5139 MB / 0.8192 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/1.253, allocations: 172.6 kB / 0.8193 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/1.254, allocations: 236.4 kB / 0.8196 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/1.254, allocations: 160.8 kB / 0.8197 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/1.254, allocations: 14.62 kB / 0.8197 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/1.256, allocations: 0.546 MB / 0.8203 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/1.256, allocations: 79.44 kB / 0.8203 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001953/1.256, allocations: 115 kB / 0.8204 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/1.257, allocations: 493.8 kB / 0.8209 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.257, allocations: 0 / 0.8209 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.012e-06/1.257, allocations: 3.984 kB / 0.8209 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.794e-05/1.257, allocations: 0 / 0.8209 GB, free: 8.031 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002189/1.26, allocations: 0.606 MB / 0.8215 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/1.26, allocations: 10.44 kB / 0.8215 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/1.26, allocations: 59.17 kB / 0.8216 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004124/1.26, allocations: 48.59 kB / 0.8216 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006978/1.261, allocations: 288.3 kB / 0.8219 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/1.261, allocations: 9.922 kB / 0.8219 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/1.261, allocations: 16.88 kB / 0.8219 GB, free: 7.113 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007689/1.262, allocations: 244.5 kB / 0.8222 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/1.262, allocations: 0 / 0.8222 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/1.262, allocations: 4 kB / 0.8222 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/1.262, allocations: 10.38 kB / 0.8222 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/1.263, allocations: 252.2 kB / 0.8224 GB, free: 6.84 MB / 0.5919 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.002008/1.265, allocations: 0.8488 MB / 0.8232 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/1.265, allocations: 146.6 kB / 0.8234 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/1.266, allocations: 112.5 kB / 0.8235 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004385/1.266, allocations: 192.7 kB / 0.8237 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/1.266, allocations: 32.78 kB / 0.8237 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 3.356e-06/1.266, allocations: 0 / 0.8237 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.001351/1.268, allocations: 305.4 kB / 0.824 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/1.268, allocations: 53.91 kB / 0.824 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/1.268, allocations: 244.6 kB / 0.8243 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/1.268, allocations: 25.7 kB / 0.8243 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/1.268, allocations: 138.5 kB / 0.8244 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/1.269, allocations: 51.22 kB / 0.8245 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/1.269, allocations: 38.02 kB / 0.8245 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002434/1.269, allocations: 335.9 kB / 0.8248 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/1.269, allocations: 63.14 kB / 0.8249 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/1.27, allocations: 104.5 kB / 0.825 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/1.27, allocations: 169.2 kB / 0.8252 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.27, allocations: 0 / 0.8252 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007156/1.271, allocations: 223 kB / 0.8254 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.271, allocations: 5.375 kB / 0.8254 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.271, allocations: 0 / 0.8254 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.271, allocations: 2.375 kB / 0.8254 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/1.271, allocations: 38.84 kB / 0.8254 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.271, allocations: 0 / 0.8254 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/1.272, allocations: 21.97 kB / 0.8254 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/1.272, allocations: 4.719 kB / 0.8254 GB, free: 4.414 MB / 0.5919 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 (15): * Single equations (assignments): 15 * 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.000236/1.272, allocations: 145.1 kB / 0.8256 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/1.272, allocations: 25.33 kB / 0.8256 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/1.272, allocations: 31.52 kB / 0.8256 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/1.272, allocations: 2.094 kB / 0.8256 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.272, allocations: 4.875 kB / 0.8256 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/1.272, allocations: 2.5 kB / 0.8256 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/1.274, allocations: 0.681 MB / 0.8263 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.274, allocations: 6.375 kB / 0.8263 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/1.274, allocations: 34.25 kB / 0.8263 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.274, allocations: 2.875 kB / 0.8264 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.274, allocations: 2.406 kB / 0.8264 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.274, allocations: 2.781 kB / 0.8264 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/1.274, allocations: 6.938 kB / 0.8264 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008236/1.275, allocations: 359.4 kB / 0.8267 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/1.275, allocations: 109.2 kB / 0.8268 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/1.275, allocations: 14.41 kB / 0.8268 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/1.276, allocations: 9.016 kB / 0.8268 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.276, allocations: 20.92 kB / 0.8269 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/1.276, allocations: 5 kB / 0.8269 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003045/1.276, allocations: 181.1 kB / 0.827 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.276, allocations: 0 / 0.827 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006189/1.277, allocations: 59.44 kB / 0.8271 GB, free: 3.066 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.001734/1.278, allocations: 0.9463 MB / 0.828 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000716/1.279, allocations: 176.6 kB / 0.8282 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.279, allocations: 4.125 kB / 0.8282 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/1.28, allocations: 89.97 kB / 0.8283 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.281, allocations: 123 kB / 0.8284 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/1.286, allocations: 2.465 MB / 0.8308 GB, free: 96 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/1.287, allocations: 0.7538 MB / 0.8315 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000343/1.287, allocations: 65 kB / 0.8316 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/1.287, allocations: 65.73 kB / 0.8317 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of SimCode: time 4.338e-06/1.287, allocations: 1.812 kB / 0.8317 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/1.334, allocations: 6.925 MB / 0.8384 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.41, allocations: 18.34 kB / 0.8384 GB, free: 11.82 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe_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_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)