Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IDEAS_dev_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.009366/0.009365, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001794/0.001794, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8129/0.8129, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 62.88 kB / 0.5851 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1466, allocations: 80.91 MB / 0.6641 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5782/0.7249, allocations: 161.3 MB / 0.8217 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.7276, allocations: 0.9652 MB / 0.8226 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.7281, allocations: 9.281 kB / 0.8226 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.7289, allocations: 161.1 kB / 0.8228 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.7311, allocations: 0.6614 MB / 0.8234 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007032/0.7318, allocations: 233 kB / 0.8237 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.7325, allocations: 0.5177 MB / 0.8242 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.7329, allocations: 170.8 kB / 0.8243 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.7335, allocations: 242.4 kB / 0.8246 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.7337, allocations: 158.6 kB / 0.8247 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.7338, allocations: 13.53 kB / 0.8247 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.7349, allocations: 0.5536 MB / 0.8253 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.735, allocations: 79.09 kB / 0.8253 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.7351, allocations: 114.7 kB / 0.8254 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007588/0.7359, allocations: 495.3 kB / 0.8259 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.7359, allocations: 2.844 kB / 0.8259 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7359, allocations: 0 / 0.8259 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.7359, allocations: 0 / 0.8259 GB, free: 2.242 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.001459/0.7374, allocations: 0.5982 MB / 0.8265 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.7374, allocations: 8.547 kB / 0.8265 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.81e-05/0.7375, allocations: 55.95 kB / 0.8266 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.7378, allocations: 52.77 kB / 0.8266 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.7382, allocations: 287.7 kB / 0.8269 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.7383, allocations: 11.23 kB / 0.8269 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.7383, allocations: 16.31 kB / 0.8269 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.7388, allocations: 245.2 kB / 0.8272 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7388, allocations: 0 / 0.8272 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.7388, allocations: 7.984 kB / 0.8272 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.7389, allocations: 10.12 kB / 0.8272 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.7394, allocations: 251.9 kB / 0.8274 GB, free: 1.055 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.001238/0.7407, allocations: 0.8391 MB / 0.8282 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.741, allocations: 142.5 kB / 0.8284 GB, free: 260 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.7412, allocations: 110.5 kB / 0.8285 GB, free: 204 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.7415, allocations: 197.7 kB / 0.8287 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.7415, allocations: 33.09 kB / 0.8287 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.7415, allocations: 0 / 0.8287 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007949/0.7423, allocations: 301.1 kB / 0.829 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.7424, allocations: 53.5 kB / 0.829 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.7426, allocations: 245.6 kB / 0.8293 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.7426, allocations: 25.7 kB / 0.8293 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.7427, allocations: 134.4 kB / 0.8294 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.7428, allocations: 54.53 kB / 0.8295 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.7428, allocations: 38.64 kB / 0.8295 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.743, allocations: 335.7 kB / 0.8298 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.7431, allocations: 63.2 kB / 0.8299 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.7433, allocations: 108.5 kB / 0.83 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.7437, allocations: 164.4 kB / 0.8301 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7437, allocations: 0 / 0.8301 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004266/0.7441, allocations: 215.9 kB / 0.8304 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7441, allocations: 4.844 kB / 0.8304 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7441, allocations: 0 / 0.8304 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.7442, allocations: 1.969 kB / 0.8304 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.7443, allocations: 38.44 kB / 0.8304 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7444, allocations: 7.219 kB / 0.8304 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.7445, allocations: 19.3 kB / 0.8304 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.7446, allocations: 4.656 kB / 0.8304 GB, free: 14.65 MB / 0.6075 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.0001181/0.7447, allocations: 145.2 kB / 0.8306 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.7447, allocations: 26 kB / 0.8306 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.7448, allocations: 34.55 kB / 0.8306 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.7448, allocations: 1.906 kB / 0.8306 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7448, allocations: 6.781 kB / 0.8306 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7448, allocations: 0 / 0.8306 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009605/0.7458, allocations: 0.6816 MB / 0.8313 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7458, allocations: 1.875 kB / 0.8313 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.746, allocations: 30.97 kB / 0.8313 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.746, allocations: 2.656 kB / 0.8313 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.746, allocations: 6.625 kB / 0.8313 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.746, allocations: 6.5 kB / 0.8313 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.746, allocations: 7.562 kB / 0.8313 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.7465, allocations: 355.1 kB / 0.8317 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.7466, allocations: 109.8 kB / 0.8318 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.239e-05/0.7466, allocations: 8.812 kB / 0.8318 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.7468, allocations: 8.703 kB / 0.8318 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.7469, allocations: 17.3 kB / 0.8318 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.7469, allocations: 4.812 kB / 0.8318 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00014/0.747, allocations: 181.7 kB / 0.832 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.747, allocations: 0 / 0.832 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003425/0.7474, allocations: 55.69 kB / 0.8321 GB, free: 13.32 MB / 0.6075 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.0009987/0.7484, allocations: 0.9531 MB / 0.833 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.7488, allocations: 173.8 kB / 0.8332 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7488, allocations: 4.125 kB / 0.8332 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.749, allocations: 101.1 kB / 0.8333 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000693/0.7497, allocations: 122 kB / 0.8334 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.7529, allocations: 2.452 MB / 0.8358 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.7532, allocations: 0.748 MB / 0.8365 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.7534, allocations: 64.98 kB / 0.8366 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.7535, allocations: 67.95 kB / 0.8366 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.7535, allocations: 0 / 0.8366 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.7785, allocations: 6.922 MB / 0.8434 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.633, allocations: 7.359 kB / 0.8434 GB, free: 6.055 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)