Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7503/0.7503, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.63e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 31.98 MB / 236.8 MB, free: 5.422 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.Examples.SimpleExamples.TestSensors): time 1.439/1.568, allocations: 294.8 MB / 0.5191 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1666/1.735, allocations: 185.5 MB / 0.7003 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/1.735, allocations: 8 kB / 0.7003 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003122/1.735, allocations: 119.2 kB / 0.7004 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003237/1.735, allocations: 174.7 kB / 0.7006 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2709/2.006, allocations: 8.849 MB / 0.7092 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008951/2.007, allocations: 0.6839 MB / 0.7099 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/2.008, allocations: 270.6 kB / 0.7102 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005122/2.008, allocations: 242.1 kB / 0.7104 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004282/2.009, allocations: 227.9 kB / 0.7106 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/2.009, allocations: 19.59 kB / 0.7106 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03186/2.041, allocations: 20.16 MB / 0.7303 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/2.041, allocations: 79.2 kB / 0.7304 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005036/2.041, allocations: 301.7 kB / 0.7307 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02024/2.062, allocations: 10.04 MB / 0.7405 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/2.062, allocations: 0 / 0.7405 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.001e-06/2.062, allocations: 0 / 0.7405 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.977e-05/2.062, allocations: 0 / 0.7405 GB, free: 1.879 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004734/2.066, allocations: 1.849 MB / 0.7423 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/2.066, allocations: 8.812 kB / 0.7423 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/2.067, allocations: 69.75 kB / 0.7424 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/2.067, allocations: 340.8 kB / 0.7427 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/2.067, allocations: 36.94 kB / 0.7427 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/2.067, allocations: 51.16 kB / 0.7428 GB, free: 352 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008071/2.068, allocations: 0.6731 MB / 0.7434 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/2.068, allocations: 2.125 kB / 0.7434 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/2.068, allocations: 24.31 kB / 0.7434 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/2.068, allocations: 22.14 kB / 0.7435 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/2.068, allocations: 398 kB / 0.7439 GB, free: 16 kB / 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.03537/2.104, allocations: 20.84 MB / 0.7642 GB, free: 420 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/2.104, allocations: 244 kB / 0.7644 GB, free: 368 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/2.105, allocations: 166.4 kB / 0.7646 GB, free: 348 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2787/2.383, allocations: 151.8 MB / 0.9128 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/2.383, allocations: 37.41 kB / 0.9128 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=62): time 2.324e-06/2.383, allocations: 0 / 0.9128 GB, free: 14.83 MB / 0.7637 GB Notification: Performance of matching and sorting (n=62): time 0.001684/2.385, allocations: 0.7521 MB / 0.9136 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/2.385, allocations: 57.16 kB / 0.9136 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/2.385, allocations: 382.4 kB / 0.914 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/2.385, allocations: 29.45 kB / 0.914 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/2.386, allocations: 275 kB / 0.9143 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/2.386, allocations: 201.9 kB / 0.9145 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/2.386, allocations: 64.3 kB / 0.9145 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001026/2.386, allocations: 356.8 kB / 0.9149 GB, free: 13.07 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/2.386, allocations: 139.8 kB / 0.915 GB, free: 13 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/2.386, allocations: 279.1 kB / 0.9153 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/2.387, allocations: 449.6 kB / 0.9157 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/2.387, allocations: 0 / 0.9157 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0007516/2.388, allocations: 0.5739 MB / 0.9163 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/2.388, allocations: 4 kB / 0.9163 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/2.388, allocations: 4 kB / 0.9163 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/2.389, allocations: 231.7 kB / 0.9165 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/2.389, allocations: 29.8 kB / 0.9165 GB, free: 11.81 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000633/2.389, allocations: 0.7421 MB / 0.9172 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/2.39, allocations: 62.84 kB / 0.9173 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/2.39, allocations: 15.75 kB / 0.9173 GB, free: 11.07 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 14 (perteDP.C2.b,perteDP.C1.a,sourceP.C.b,puitsP.C.a,temperatureSensor.C2.b,temperatureSensor.C1.a,pressureSensor.C2.b,pressureSensor.C1.a,volumetricFlowSensor.C2.b,volumetricFlowSensor.C1.a,massFlowSensor.C2.b,massFlowSensor.C1.a,specificEnthalpySensor.C2.b,specificEnthalpySensor.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000168/2.39, allocations: 169.2 kB / 0.9175 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/2.39, allocations: 39.44 kB / 0.9175 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/2.391, allocations: 1.128 MB / 0.9186 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005383/2.391, allocations: 460.9 kB / 0.9191 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/2.391, allocations: 0 / 0.9191 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/2.391, allocations: 5.016 kB / 0.9191 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/2.393, allocations: 1.344 MB / 0.9204 GB, free: 8.727 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/2.393, allocations: 4.125 kB / 0.9204 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/2.393, allocations: 42.89 kB / 0.9204 GB, free: 8.684 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007092/2.394, allocations: 209.8 kB / 0.9206 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/2.394, allocations: 11.36 kB / 0.9206 GB, free: 8.504 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006084/2.395, allocations: 0.7507 MB / 0.9214 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/2.395, allocations: 0 / 0.9214 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/2.395, allocations: 0.6102 MB / 0.922 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/2.396, allocations: 186.2 kB / 0.9221 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/2.396, allocations: 11.59 kB / 0.9221 GB, free: 7.164 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/2.396, allocations: 7.609 kB / 0.9221 GB, free: 7.16 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/2.396, allocations: 23.72 kB / 0.9222 GB, free: 7.141 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/2.396, allocations: 8 kB / 0.9222 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003009/2.396, allocations: 336.2 kB / 0.9225 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/2.396, allocations: 0 / 0.9225 GB, free: 6.887 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0036/2.4, allocations: 1.541 MB / 0.924 GB, free: 5.445 MB / 0.7637 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 (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005565/2.405, allocations: 2.316 MB / 0.9263 GB, free: 3.441 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008962/2.406, allocations: 0.5219 MB / 0.9268 GB, free: 3.07 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/2.406, allocations: 4.062 kB / 0.9268 GB, free: 3.066 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/2.407, allocations: 240.4 kB / 0.927 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/2.408, allocations: 224.1 kB / 0.9272 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/2.409, allocations: 1.299 MB / 0.9285 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/2.41, allocations: 0.8907 MB / 0.9294 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001793/2.41, allocations: 51.38 kB / 0.9294 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/2.41, allocations: 39.44 kB / 0.9294 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of SimCode: time 8.92e-07/2.41, allocations: 0 / 0.9294 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of Templates: time 0.2093/2.619, allocations: 51.15 MB / 0.9794 GB, free: 460.5 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSensors.pipe 2>&1) Environment - environmentSimulation: