Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8704/0.8704, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.27e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1975, allocations: 31.97 MB / 236.8 MB, free: 5.426 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors): time 1.789/1.986, allocations: 295.3 MB / 0.5196 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6292/2.615, allocations: 192.8 MB / 0.7079 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/2.616, allocations: 10.44 kB / 0.7079 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/2.616, allocations: 74.58 kB / 0.708 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005992/2.617, allocations: 239.9 kB / 0.7082 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03541/2.652, allocations: 10.43 MB / 0.7184 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001507/2.654, allocations: 0.9005 MB / 0.7193 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/2.654, allocations: 472.5 kB / 0.7197 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/2.655, allocations: 303.2 kB / 0.72 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004059/2.655, allocations: 348.1 kB / 0.7203 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/2.655, allocations: 38.66 kB / 0.7204 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04951/2.705, allocations: 22.52 MB / 0.7424 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004365/2.705, allocations: 136 kB / 0.7425 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000867/2.706, allocations: 437.6 kB / 0.7429 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03978/2.746, allocations: 11.91 MB / 0.7545 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/2.746, allocations: 0 / 0.7545 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.465e-06/2.746, allocations: 0 / 0.7545 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.638e-05/2.746, allocations: 0 / 0.7545 GB, free: 13.24 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.006952/2.753, allocations: 2.314 MB / 0.7568 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/2.753, allocations: 8.25 kB / 0.7568 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/2.753, allocations: 117.2 kB / 0.7569 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/2.754, allocations: 455.1 kB / 0.7573 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/2.754, allocations: 72.03 kB / 0.7574 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/2.754, allocations: 94.59 kB / 0.7575 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/2.755, allocations: 0.8726 MB / 0.7584 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/2.755, allocations: 2.219 kB / 0.7584 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/2.756, allocations: 42.59 kB / 0.7584 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/2.756, allocations: 22.5 kB / 0.7584 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/2.757, allocations: 0.596 MB / 0.759 GB, free: 11.02 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.01794/2.775, allocations: 13.07 MB / 0.7718 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/2.775, allocations: 240.6 kB / 0.772 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/2.775, allocations: 68.05 kB / 0.7721 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6801/3.455, allocations: 219.3 MB / 0.9862 GB, free: 455.1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/3.455, allocations: 41.25 kB / 0.9863 GB, free: 455.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.305e-06/3.455, allocations: 0 / 0.9863 GB, free: 455.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001183/3.456, allocations: 377.4 kB / 0.9866 GB, free: 455 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/3.457, allocations: 57.47 kB / 0.9867 GB, free: 454.9 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/3.457, allocations: 493.7 kB / 0.9872 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/3.457, allocations: 28.42 kB / 0.9872 GB, free: 454.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/3.457, allocations: 428.3 kB / 0.9876 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/3.457, allocations: 58.72 kB / 0.9877 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/3.458, allocations: 44.14 kB / 0.9877 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001014/3.458, allocations: 346.3 kB / 0.988 GB, free: 454.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/3.458, allocations: 78.5 kB / 0.9881 GB, free: 454.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/3.458, allocations: 150.8 kB / 0.9882 GB, free: 454.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/3.458, allocations: 242.3 kB / 0.9885 GB, free: 454 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/3.458, allocations: 0 / 0.9885 GB, free: 454 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005732/3.459, allocations: 348.2 kB / 0.9888 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/3.459, allocations: 13.62 kB / 0.9888 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/3.459, allocations: 4.969 kB / 0.9888 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008889/3.46, allocations: 135.8 kB / 0.989 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/3.46, allocations: 61.94 kB / 0.989 GB, free: 453.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003931/3.46, allocations: 0.5855 MB / 0.9896 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/3.461, allocations: 47.16 kB / 0.9896 GB, free: 453.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/3.461, allocations: 16.3 kB / 0.9896 GB, free: 453.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,volumetricFlowSensor.fluid,temperatureSensor.fluid,puitsP.fluid,perteDP.fluid,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002446/3.461, allocations: 190.3 kB / 0.9898 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/3.461, allocations: 49.06 kB / 0.9899 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/3.462, allocations: 286.2 kB / 0.9901 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/3.462, allocations: 3.625 kB / 0.9901 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/3.462, allocations: 0 / 0.9901 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/3.462, allocations: 0.5625 kB / 0.9901 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/3.463, allocations: 0.9608 MB / 0.9911 GB, free: 452.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/3.463, allocations: 3.938 kB / 0.9911 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/3.463, allocations: 17.41 kB / 0.9911 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005975/3.464, allocations: 116.2 kB / 0.9912 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/3.464, allocations: 6.5 kB / 0.9912 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003275/3.464, allocations: 0.5808 MB / 0.9918 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.464, allocations: 4.453 kB / 0.9918 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/3.465, allocations: 347.2 kB / 0.9921 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/3.465, allocations: 150.9 kB / 0.9923 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/3.465, allocations: 9.125 kB / 0.9923 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/3.465, allocations: 3.375 kB / 0.9923 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/3.465, allocations: 14.98 kB / 0.9923 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/3.465, allocations: 6 kB / 0.9923 GB, free: 451.9 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003359/3.466, allocations: 326 kB / 0.9926 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/3.466, allocations: 0 / 0.9926 GB, free: 451.8 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006358/3.472, allocations: 1.904 MB / 0.9945 GB, free: 451.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009179/3.481, allocations: 2.906 MB / 0.9973 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005861/3.482, allocations: 187.4 kB / 0.9975 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/3.482, allocations: 0 / 0.9975 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/3.482, allocations: 74.45 kB / 0.9976 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/3.483, allocations: 96.67 kB / 0.9977 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/3.484, allocations: 1.363 MB / 0.999 GB, free: 450.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/3.485, allocations: 0.9075 MB / 0.9999 GB, free: 449.8 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002206/3.485, allocations: 73.84 kB / 0.9999 GB, free: 449.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/3.485, allocations: 41 kB / 1 GB, free: 449.8 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/3.485, allocations: 2.656 kB / 1 GB, free: 449.8 MB / 0.8106 GB Notification: Performance of Templates: time 0.07142/3.556, allocations: 53.73 MB / 1.052 GB, free: 410.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe 2>&1) Environment - environmentSimulation: