Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",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.00112/0.00112, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009751/0.0009754, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.2 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9914/0.9914, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 8 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 82.31 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.498/0.662, allocations: 159.9 MB / 0.7436 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009524/0.6716, allocations: 8.085 MB / 0.7515 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000761/0.6724, allocations: 25.28 kB / 0.7515 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006822/0.6731, allocations: 220.9 kB / 0.7518 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006901/0.6738, allocations: 277.4 kB / 0.752 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.6749, allocations: 298.2 kB / 0.7523 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.6766, allocations: 1.361 MB / 0.7536 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.6773, allocations: 443.5 kB / 0.7541 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004572/0.6819, allocations: 1.478 MB / 0.7555 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000515/0.6824, allocations: 334.5 kB / 0.7558 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.13e-05/0.6825, allocations: 24 kB / 0.7558 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.6827, allocations: 55.91 kB / 0.7559 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.683, allocations: 227.4 kB / 0.7561 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.6831, allocations: 125.4 kB / 0.7562 GB, free: 56 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.6836, allocations: 463 kB / 0.7567 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6836, allocations: 0 / 0.7567 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6837, allocations: 0 / 0.7567 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.6837, allocations: 0 / 0.7567 GB, free: 15.6 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0009797/0.6847, allocations: 0.7196 MB / 0.7574 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.6847, allocations: 15.97 kB / 0.7574 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.732e-05/0.6848, allocations: 94.52 kB / 0.7575 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.328e-05/0.6849, allocations: 63.25 kB / 0.7575 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.6855, allocations: 414.2 kB / 0.7579 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.6855, allocations: 33.31 kB / 0.758 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.834e-05/0.6856, allocations: 55.98 kB / 0.758 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.6867, allocations: 0.7027 MB / 0.7587 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.6867, allocations: 7.938 kB / 0.7587 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/0.6867, allocations: 20 kB / 0.7587 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.6868, allocations: 39.97 kB / 0.7588 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.6875, allocations: 383.3 kB / 0.7591 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.69, allocations: 3.224 MB / 0.7623 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.6902, allocations: 230 kB / 0.7625 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.6904, allocations: 132.6 kB / 0.7626 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.6904, allocations: 8 kB / 0.7626 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.6905, allocations: 42.5 kB / 0.7627 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.6905, allocations: 4 kB / 0.7627 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006859/0.6912, allocations: 265.7 kB / 0.7629 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.6913, allocations: 290.7 kB / 0.7632 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007371/0.6921, allocations: 0.6799 MB / 0.7639 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.6921, allocations: 29.7 kB / 0.7639 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.6923, allocations: 268.1 kB / 0.7642 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.6924, allocations: 39.52 kB / 0.7642 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.6924, allocations: 0 / 0.7642 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6925, allocations: 374.7 kB / 0.7646 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.6927, allocations: 39.97 kB / 0.7646 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.6928, allocations: 101.1 kB / 0.7647 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.6929, allocations: 51.95 kB / 0.7647 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6929, allocations: 0 / 0.7647 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000318/0.6933, allocations: 204.4 kB / 0.7649 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.6933, allocations: 8.188 kB / 0.7649 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6933, allocations: 7.984 kB / 0.765 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6933, allocations: 0 / 0.765 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.6935, allocations: 52.22 kB / 0.765 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6936, allocations: 4 kB / 0.765 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.6938, allocations: 71.34 kB / 0.7651 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.6938, allocations: 7.938 kB / 0.7651 GB, free: 6.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.694, allocations: 201.7 kB / 0.7653 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.6942, allocations: 67.17 kB / 0.7653 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.046e-05/0.6943, allocations: 60.33 kB / 0.7654 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6943, allocations: 4 kB / 0.7654 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6943, allocations: 4 kB / 0.7654 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.6943, allocations: 4 kB / 0.7654 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.6956, allocations: 1.297 MB / 0.7667 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6956, allocations: 4 kB / 0.7667 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.6958, allocations: 52.17 kB / 0.7667 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6958, allocations: 8 kB / 0.7667 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.6958, allocations: 8 kB / 0.7667 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.6959, allocations: 11.94 kB / 0.7668 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6959, allocations: 0 / 0.7668 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.6962, allocations: 346.4 kB / 0.7671 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.6964, allocations: 148.6 kB / 0.7672 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.615e-05/0.6964, allocations: 0 / 0.7672 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.6966, allocations: 19.98 kB / 0.7672 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.6967, allocations: 23.88 kB / 0.7673 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.6967, allocations: 4 kB / 0.7673 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004982/0.6972, allocations: 499 kB / 0.7678 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6972, allocations: 4 kB / 0.7678 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003732/0.6976, allocations: 83.92 kB / 0.7678 GB, free: 3.422 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.0008328/0.6984, allocations: 0.9075 MB / 0.7687 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.6987, allocations: 115.8 kB / 0.7688 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6987, allocations: 0 / 0.7688 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.6989, allocations: 72.77 kB / 0.7689 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.7002, allocations: 277.5 kB / 0.7692 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.7042, allocations: 3.089 MB / 0.7722 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.7047, allocations: 0.9052 MB / 0.7731 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.705, allocations: 109.3 kB / 0.7732 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.7052, allocations: 175.4 kB / 0.7733 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.7052, allocations: 0 / 0.7733 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.7309, allocations: 12.97 MB / 0.786 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.7311, allocations: 211.9 kB / 0.7862 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/2.662, allocations: 0 / 0.7862 GB, free: 0.7344 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) Environment - environmentSimulation: