Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",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.001261/0.001261, allocations: 99.86 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.001542/0.001542, 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 3.447/3.447, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.929/1.929, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005305, allocations: 8 kB / 0.5069 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3011, allocations: 82.31 MB / 0.5873 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.8236/1.125, allocations: 160.9 MB / 0.7444 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02032/1.145, allocations: 8.439 MB / 0.7527 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001851/1.147, allocations: 23.81 kB / 0.7527 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002486/1.15, allocations: 418.6 kB / 0.7531 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006189/1.156, allocations: 0.9935 MB / 0.7541 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004823/1.161, allocations: 0.9364 MB / 0.755 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003145/1.164, allocations: 1.005 MB / 0.756 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/1.166, allocations: 0.633 MB / 0.7566 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/1.17, allocations: 0.9854 MB / 0.7576 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009944/1.171, allocations: 354.4 kB / 0.7579 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/1.171, allocations: 36 kB / 0.7579 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/1.174, allocations: 0.5772 MB / 0.7585 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005687/1.175, allocations: 299.2 kB / 0.7588 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004365/1.175, allocations: 185.1 kB / 0.759 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/1.177, allocations: 0.8416 MB / 0.7598 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.177, allocations: 3.938 kB / 0.7598 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.585e-06/1.177, allocations: 4 kB / 0.7598 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.077e-05/1.177, allocations: 0 / 0.7598 GB, free: 11.86 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002334/1.179, allocations: 0.9532 MB / 0.7607 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/1.179, allocations: 19.91 kB / 0.7607 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000224/1.18, allocations: 126.6 kB / 0.7609 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/1.183, allocations: 298.6 kB / 0.7611 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/1.184, allocations: 0.5081 MB / 0.7616 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/1.185, allocations: 57.98 kB / 0.7617 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.185, allocations: 72 kB / 0.7618 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/1.187, allocations: 0.8947 MB / 0.7626 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/1.187, allocations: 3.938 kB / 0.7626 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.187, allocations: 31.98 kB / 0.7627 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.857e-05/1.187, allocations: 41.3 kB / 0.7627 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001718/1.189, allocations: 0.5788 MB / 0.7633 GB, free: 8.129 MB / 0.5762 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.006258/1.195, allocations: 3.489 MB / 0.7667 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/1.196, allocations: 227.7 kB / 0.7669 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/1.197, allocations: 153 kB / 0.767 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.197, allocations: 34.91 kB / 0.7671 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=21): time 4.238e-06/1.197, allocations: 0 / 0.7671 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21): time 0.0023/1.199, allocations: 478.3 kB / 0.7675 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/1.199, allocations: 110.8 kB / 0.7676 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.201, allocations: 0.8606 MB / 0.7685 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/1.201, allocations: 29.7 kB / 0.7685 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004636/1.202, allocations: 379.8 kB / 0.7689 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.202, allocations: 78.83 kB / 0.7689 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/1.202, allocations: 8 kB / 0.769 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.202, allocations: 318 kB / 0.7693 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/1.202, allocations: 111.9 kB / 0.7694 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/1.203, allocations: 212.8 kB / 0.7696 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/1.203, allocations: 142 kB / 0.7697 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.203, allocations: 0 / 0.7697 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001304/1.205, allocations: 412.3 kB / 0.7701 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.205, allocations: 4 kB / 0.7701 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.205, allocations: 4.047 kB / 0.7701 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.205, allocations: 11.94 kB / 0.7701 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/1.205, allocations: 71.84 kB / 0.7702 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/1.205, allocations: 4.562 kB / 0.7702 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008782/1.206, allocations: 95.28 kB / 0.7703 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/1.206, allocations: 23.22 kB / 0.7703 GB, free: 0.5938 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0004859/1.207, allocations: 229.7 kB / 0.7705 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/1.207, allocations: 79.06 kB / 0.7706 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/1.208, allocations: 334.6 kB / 0.7709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.208, allocations: 4 kB / 0.7709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.208, allocations: 3.984 kB / 0.7709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.208, allocations: 0 / 0.7709 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/1.212, allocations: 1.393 MB / 0.7723 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.212, allocations: 4 kB / 0.7723 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/1.212, allocations: 47.92 kB / 0.7723 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.896e-05/1.212, allocations: 8 kB / 0.7723 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/1.212, allocations: 4 kB / 0.7723 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.595e-05/1.212, allocations: 11.98 kB / 0.7724 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.212, allocations: 7.938 kB / 0.7724 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/1.214, allocations: 0.7248 MB / 0.7731 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/1.215, allocations: 184.1 kB / 0.7732 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/1.215, allocations: 15.98 kB / 0.7733 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/1.215, allocations: 31.89 kB / 0.7733 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.216, allocations: 31.86 kB / 0.7733 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/1.216, allocations: 12 kB / 0.7733 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001513/1.217, allocations: 0.6005 MB / 0.7739 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.31e-07/1.217, allocations: 4 kB / 0.7739 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001195/1.218, allocations: 155.8 kB / 0.7741 GB, free: 12.42 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.003019/1.221, allocations: 2.534 MB / 0.7765 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.222, allocations: 267.6 kB / 0.7768 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.223, allocations: 4 kB / 0.7768 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/1.223, allocations: 137.5 kB / 0.7769 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.227, allocations: 406.2 kB / 0.7773 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/1.239, allocations: 6.081 MB / 0.7833 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009247/1.24, allocations: 1.008 MB / 0.7842 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001162/1.241, allocations: 163.1 kB / 0.7844 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/1.242, allocations: 275.3 kB / 0.7847 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of SimCode: time 1.253e-06/1.242, allocations: 0 / 0.7847 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/1.401, allocations: 19.83 MB / 0.804 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004284/1.402, allocations: 212.2 kB / 0.8042 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.576/5.978, allocations: 4.062 kB / 0.8042 GB, free: 13.5 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) Environment - environmentSimulation: