Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop",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.006217/0.006217, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001446/0.001446, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.2 MB / 422.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.08 kB / 0.5809 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1513, allocations: 80.21 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5445/0.6959, allocations: 161.5 MB / 0.8169 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.6992, allocations: 1.701 MB / 0.8186 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.6994, allocations: 13.38 kB / 0.8186 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.7, allocations: 167.8 kB / 0.8187 GB, free: 2.938 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.7012, allocations: 0.5283 MB / 0.8192 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.7022, allocations: 426.1 kB / 0.8196 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.703, allocations: 0.5665 MB / 0.8202 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.7034, allocations: 182.7 kB / 0.8204 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006462/0.704, allocations: 327.3 kB / 0.8207 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.7043, allocations: 151 kB / 0.8208 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.7043, allocations: 17.78 kB / 0.8208 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.7057, allocations: 0.6984 MB / 0.8215 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.7058, allocations: 82.02 kB / 0.8216 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.706, allocations: 121.5 kB / 0.8217 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009332/0.707, allocations: 0.4962 MB / 0.8222 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.707, allocations: 0.5 kB / 0.8222 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.707, allocations: 0 / 0.8222 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.707, allocations: 1.625 kB / 0.8222 GB, free: 2.852 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007505/0.7078, allocations: 0.5891 MB / 0.8228 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.7078, allocations: 9.188 kB / 0.8228 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.7079, allocations: 49.56 kB / 0.8228 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.7082, allocations: 57.3 kB / 0.8229 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.7086, allocations: 299 kB / 0.8232 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.7086, allocations: 19.98 kB / 0.8232 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.7087, allocations: 18.39 kB / 0.8232 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.709, allocations: 190.4 kB / 0.8234 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.7091, allocations: 4.219 kB / 0.8234 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.7091, allocations: 5.625 kB / 0.8234 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.7091, allocations: 3.781 kB / 0.8234 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.7094, allocations: 129.1 kB / 0.8235 GB, free: 2.039 MB / 0.6387 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.0008807/0.7103, allocations: 0.7817 MB / 0.8243 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.7105, allocations: 83.67 kB / 0.8244 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.7107, allocations: 77.69 kB / 0.8245 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.7109, allocations: 193.1 kB / 0.8246 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.7111, allocations: 36.97 kB / 0.8247 GB, free: 17.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.7111, allocations: 0.9375 kB / 0.8247 GB, free: 17.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006296/0.7117, allocations: 214.1 kB / 0.8249 GB, free: 17.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.7117, allocations: 53.69 kB / 0.8249 GB, free: 17.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.712, allocations: 270.9 kB / 0.8252 GB, free: 17.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.712, allocations: 27.08 kB / 0.8252 GB, free: 17.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.7121, allocations: 146.7 kB / 0.8254 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.7122, allocations: 32.88 kB / 0.8254 GB, free: 16.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.7122, allocations: 32.27 kB / 0.8254 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.7123, allocations: 337.5 kB / 0.8257 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.7125, allocations: 51.61 kB / 0.8258 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.7126, allocations: 88.34 kB / 0.8259 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.7129, allocations: 124.7 kB / 0.826 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7129, allocations: 0.75 kB / 0.826 GB, free: 16.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003218/0.7132, allocations: 163.3 kB / 0.8261 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7132, allocations: 7.438 kB / 0.8262 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7132, allocations: 1.438 kB / 0.8262 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7133, allocations: 1.984 kB / 0.8262 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.7134, allocations: 21.42 kB / 0.8262 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.7134, allocations: 5.766 kB / 0.8262 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.7136, allocations: 23.2 kB / 0.8262 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.7136, allocations: 12.7 kB / 0.8262 GB, free: 16.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001782/0.7138, allocations: 145.4 kB / 0.8264 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001407/0.7139, allocations: 93.45 kB / 0.8264 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002186/0.7141, allocations: 117.7 kB / 0.8266 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.7142, allocations: 0 / 0.8266 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003098/0.7145, allocations: 159.5 kB / 0.8267 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-06/0.7145, allocations: 6.5 kB / 0.8267 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-06/0.7145, allocations: 1.062 kB / 0.8267 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-06/0.7145, allocations: 3.469 kB / 0.8267 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.7146, allocations: 23.89 kB / 0.8267 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.7146, allocations: 3.844 kB / 0.8267 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.7148, allocations: 18.06 kB / 0.8268 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.7148, allocations: 8.312 kB / 0.8268 GB, free: 16.23 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 9.536e-05/0.7149, allocations: 188 kB / 0.827 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.7149, allocations: 25.11 kB / 0.827 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.7153, allocations: 160.3 kB / 0.8271 GB, free: 16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.7153, allocations: 2.75 kB / 0.8271 GB, free: 16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.7153, allocations: 1.062 kB / 0.8271 GB, free: 16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7153, allocations: 0.6562 kB / 0.8271 GB, free: 16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008251/0.7162, allocations: 0.5921 MB / 0.8277 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.7162, allocations: 7.406 kB / 0.8277 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.7163, allocations: 27.92 kB / 0.8277 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.7163, allocations: 2.375 kB / 0.8277 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.7163, allocations: 3.125 kB / 0.8277 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.7163, allocations: 6.25 kB / 0.8278 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7163, allocations: 4.344 kB / 0.8278 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.7167, allocations: 296.5 kB / 0.828 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.7168, allocations: 120.5 kB / 0.8282 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.7168, allocations: 6.594 kB / 0.8282 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.717, allocations: 15.02 kB / 0.8282 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.7171, allocations: 14.45 kB / 0.8282 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.7171, allocations: 4.156 kB / 0.8282 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001796/0.7173, allocations: 197.3 kB / 0.8284 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7173, allocations: 0 / 0.8284 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004226/0.7177, allocations: 93.53 kB / 0.8285 GB, free: 15.24 MB / 0.6544 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 (10): * Single equations (assignments): 10 * 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.0008629/0.7186, allocations: 0.8857 MB / 0.8293 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.719, allocations: 165.4 kB / 0.8295 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.719, allocations: 3.328 kB / 0.8295 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.7192, allocations: 66.88 kB / 0.8296 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.7198, allocations: 117.8 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.7224, allocations: 2.356 MB / 0.832 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.7227, allocations: 0.7557 MB / 0.8327 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.7229, allocations: 70.45 kB / 0.8328 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.426e-05/0.723, allocations: 70.45 kB / 0.8328 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/0.723, allocations: 0 / 0.8328 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.7482, allocations: 6.887 MB / 0.8396 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.929, allocations: 13.89 kB / 0.8396 GB, free: 11.84 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PressureDrop.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)