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.001222/0.001222, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001697/0.001697, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.072/2.072, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7701/0.7701, allocations: 132.3 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004471, allocations: 8 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5662/0.5666, allocations: 81.58 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2411/0.8078, allocations: 135.5 MB / 0.7153 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003309/0.8111, allocations: 0.9709 MB / 0.7162 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.8116, allocations: 7.938 kB / 0.7162 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.8127, allocations: 175.2 kB / 0.7164 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.8145, allocations: 414.8 kB / 0.7168 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.8156, allocations: 272.1 kB / 0.717 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008052/0.8164, allocations: 316.2 kB / 0.7173 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/0.817, allocations: 156.1 kB / 0.7175 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009972/0.818, allocations: 247.3 kB / 0.7177 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.8183, allocations: 107.5 kB / 0.7178 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.8184, allocations: 12 kB / 0.7178 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.8195, allocations: 243.6 kB / 0.7181 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.8197, allocations: 63.86 kB / 0.7181 GB, free: 5.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.8198, allocations: 69.58 kB / 0.7182 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006768/0.8205, allocations: 263.4 kB / 0.7185 GB, free: 5.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8206, allocations: 0 / 0.7185 GB, free: 5.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.33e-06/0.8206, allocations: 3.938 kB / 0.7185 GB, free: 5.531 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.376e-05/0.8206, allocations: 3.938 kB / 0.7185 GB, free: 5.527 MB / 0.545 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.001956/0.8226, allocations: 0.5494 MB / 0.719 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.8227, allocations: 8.031 kB / 0.719 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.864e-05/0.8228, allocations: 46.55 kB / 0.7191 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.8232, allocations: 55.67 kB / 0.7191 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.8237, allocations: 266.5 kB / 0.7194 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.8238, allocations: 12.33 kB / 0.7194 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.8239, allocations: 16 kB / 0.7194 GB, free: 4.484 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.8245, allocations: 250.9 kB / 0.7196 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.8245, allocations: 0 / 0.7196 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.8245, allocations: 4 kB / 0.7196 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.8246, allocations: 8 kB / 0.7196 GB, free: 4.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.8256, allocations: 271.8 kB / 0.7199 GB, free: 3.957 MB / 0.545 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.001761/0.8273, allocations: 0.7729 MB / 0.7206 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.8279, allocations: 154.4 kB / 0.7208 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-05/0.828, allocations: 15.98 kB / 0.7208 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.695e-05/0.8281, allocations: 30.56 kB / 0.7208 GB, free: 2.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/0.8281, allocations: 0 / 0.7208 GB, free: 2.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.001534/0.8296, allocations: 313.4 kB / 0.7211 GB, free: 2.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.8297, allocations: 59.33 kB / 0.7212 GB, free: 2.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004218/0.8301, allocations: 245 kB / 0.7214 GB, free: 2.266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.8302, allocations: 25.7 kB / 0.7215 GB, free: 2.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.8304, allocations: 140.2 kB / 0.7216 GB, free: 2.094 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.8304, allocations: 43.3 kB / 0.7216 GB, free: 2.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.8305, allocations: 8 kB / 0.7216 GB, free: 2.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.8307, allocations: 334.8 kB / 0.722 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.831, allocations: 71.94 kB / 0.722 GB, free: 1.637 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.8313, allocations: 102.5 kB / 0.7221 GB, free: 1.527 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.8316, allocations: 83.58 kB / 0.7222 GB, free: 1.449 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8317, allocations: 4 kB / 0.7222 GB, free: 1.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005293/0.8322, allocations: 229.3 kB / 0.7224 GB, free: 1.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8322, allocations: 4 kB / 0.7224 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8322, allocations: 0 / 0.7224 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.8323, allocations: 4 kB / 0.7224 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.8325, allocations: 35.91 kB / 0.7225 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.8325, allocations: 0 / 0.7225 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.8328, allocations: 35.84 kB / 0.7225 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.8328, allocations: 11.95 kB / 0.7225 GB, free: 1.125 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.833, allocations: 141.8 kB / 0.7226 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.833, allocations: 23.72 kB / 0.7227 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.803e-05/0.8331, allocations: 29.83 kB / 0.7227 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8331, allocations: 3.938 kB / 0.7227 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8332, allocations: 0 / 0.7227 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.8332, allocations: 3.984 kB / 0.7227 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.8345, allocations: 0.6874 MB / 0.7234 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.8345, allocations: 4 kB / 0.7234 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.8347, allocations: 31.97 kB / 0.7234 GB, free: 116 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.8347, allocations: 4 kB / 0.7234 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.8347, allocations: 7.953 kB / 0.7234 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.8347, allocations: 8.156 kB / 0.7234 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.8348, allocations: 8 kB / 0.7234 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007047/0.8355, allocations: 457 kB / 0.7239 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.8356, allocations: 112.8 kB / 0.724 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.8357, allocations: 8 kB / 0.724 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.8359, allocations: 15.92 kB / 0.724 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.8359, allocations: 19.98 kB / 0.724 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.836, allocations: 4 kB / 0.724 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000167/0.8361, allocations: 176.5 kB / 0.7242 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8362, allocations: 4 kB / 0.7242 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003704/0.8365, allocations: 52 kB / 0.7242 GB, free: 15.15 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/0.838, allocations: 1.507 MB / 0.7257 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.8385, allocations: 179.8 kB / 0.7259 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8386, allocations: 0 / 0.7259 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.8388, allocations: 104.4 kB / 0.726 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.8395, allocations: 126.7 kB / 0.7261 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.8421, allocations: 1.652 MB / 0.7277 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.8425, allocations: 0.7599 MB / 0.7285 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.8428, allocations: 61.91 kB / 0.7285 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.8429, allocations: 59.42 kB / 0.7286 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of SimCode: time 3.967e-06/0.8429, allocations: 0 / 0.7286 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/0.8896, allocations: 6.354 MB / 0.7348 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000382/0.8901, allocations: 212.8 kB / 0.735 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/3.7, allocations: 3.938 kB / 0.735 GB, free: 4.188 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) Environment - environmentSimulation: