Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.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: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestVolumes1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestVolumes1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestVolumes1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestVolumes1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.737/0.737, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.348e-05/1.35e-05, allocations: 4 kB / 204.9 MB, free: 9.996 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 31.99 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.Examples.SimpleExamples.TestVolumes1): time 1.395/1.529, allocations: 299.6 MB / 0.5239 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.409/1.938, allocations: 187 MB / 0.7065 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008816/1.939, allocations: 11.97 kB / 0.7065 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006107/1.939, allocations: 289.7 kB / 0.7068 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/1.94, allocations: 0.5485 MB / 0.7073 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02006/1.96, allocations: 9.334 MB / 0.7164 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001775/1.962, allocations: 2.093 MB / 0.7185 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005987/1.963, allocations: 0.7006 MB / 0.7192 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/1.963, allocations: 0.6966 MB / 0.7199 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/1.964, allocations: 0.6891 MB / 0.7205 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.509e-05/1.964, allocations: 59.34 kB / 0.7206 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02591/1.99, allocations: 20.2 MB / 0.7403 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000349/1.99, allocations: 242.8 kB / 0.7405 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009711/1.991, allocations: 0.8004 MB / 0.7413 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0185/2.01, allocations: 11.15 MB / 0.7522 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/2.01, allocations: 0 / 0.7522 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/2.01, allocations: 0 / 0.7522 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.099e-05/2.01, allocations: 0 / 0.7522 GB, free: 13.83 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: 458 * Number of variables: 458 Notification: Performance of Generate backend data structure: time 0.006313/2.016, allocations: 2.796 MB / 0.7549 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/2.016, allocations: 9.375 kB / 0.755 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002502/2.017, allocations: 234.2 kB / 0.7552 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/2.017, allocations: 194.3 kB / 0.7554 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/2.018, allocations: 0.6716 MB / 0.756 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/2.018, allocations: 99.14 kB / 0.7561 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/2.018, allocations: 129.8 kB / 0.7562 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/2.02, allocations: 1.782 MB / 0.758 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/2.02, allocations: 6.062 kB / 0.758 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/2.02, allocations: 54.56 kB / 0.758 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.571e-05/2.02, allocations: 72.72 kB / 0.7581 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/2.022, allocations: 1.246 MB / 0.7593 GB, free: 10.54 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.08488/2.107, allocations: 51.62 MB / 0.8097 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/2.108, allocations: 0.8506 MB / 0.8106 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008957/2.109, allocations: 0.6375 MB / 0.8112 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2754/2.385, allocations: 151.8 MB / 0.9594 GB, free: 2.969 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/2.385, allocations: 39.12 kB / 0.9595 GB, free: 2.922 MB / 0.795 GB Notification: Performance of pre-optimization done (n=204): time 2.494e-06/2.385, allocations: 0 / 0.9595 GB, free: 2.922 MB / 0.795 GB Notification: Performance of matching and sorting (n=204): time 0.007635/2.392, allocations: 3.126 MB / 0.9625 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/2.392, allocations: 136 kB / 0.9626 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/2.393, allocations: 0.8604 MB / 0.9635 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/2.393, allocations: 33.7 kB / 0.9635 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/2.394, allocations: 0.6068 MB / 0.9641 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/2.394, allocations: 0.6534 MB / 0.9647 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/2.394, allocations: 157.6 kB / 0.9649 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/2.394, allocations: 313.1 kB / 0.9652 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009442/2.395, allocations: 0.5066 MB / 0.9657 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/2.397, allocations: 0.8764 MB / 0.9665 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/2.399, allocations: 1.536 MB / 0.968 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/2.399, allocations: 4 kB / 0.968 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0032/2.402, allocations: 2.036 MB / 0.97 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/2.402, allocations: 8 kB / 0.97 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/2.402, allocations: 8 kB / 0.97 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007364/2.409, allocations: 3.357 MB / 0.9733 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/2.41, allocations: 127.5 kB / 0.9734 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/2.413, allocations: 1.852 MB / 0.9753 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/2.414, allocations: 222.8 kB / 0.9755 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.568e-05/2.414, allocations: 51.98 kB / 0.9755 GB, free: 2.117 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 34 (pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve5.C2.b,valve5.C1.a,volumeB1.Ce3.a,volumeB1.Cs.b,volumeB1.Ce2.a,volumeB1.Ce1.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,puitsP1.C.a,valve4.C2.b,valve4.C1.a,volumeD1.Cs3.b,volumeD1.Cs2.b,volumeD1.Cs1.b,volumeD1.Ce.a,puitsP.C.a,volumeD.Cs3.b,volumeD.Cs2.b,volumeD.Cs1.b,volumeD.Ce.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Ce1.b,volumeD1.Cs1.a,volumeD.Cs1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(17,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005218/2.415, allocations: 304.8 kB / 0.9758 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/2.415, allocations: 134.2 kB / 0.9759 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1548/2.57, allocations: 6.301 MB / 0.9821 GB, free: 458.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00315/2.573, allocations: 2.059 MB / 0.9841 GB, free: 458.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/2.573, allocations: 2.656 kB / 0.9841 GB, free: 458.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/2.573, allocations: 5.531 kB / 0.9841 GB, free: 458.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/2.579, allocations: 4.778 MB / 0.9888 GB, free: 458 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/2.579, allocations: 0.5 kB / 0.9888 GB, free: 458 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/2.58, allocations: 238.7 kB / 0.989 GB, free: 458 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003897/2.584, allocations: 1.641 MB / 0.9906 GB, free: 458 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/2.584, allocations: 26.34 kB / 0.9906 GB, free: 458 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/2.586, allocations: 2.633 MB / 0.9932 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/2.586, allocations: 2.438 kB / 0.9932 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004292/2.59, allocations: 3.136 MB / 0.9963 GB, free: 456 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004877/2.591, allocations: 421.8 kB / 0.9967 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/2.591, allocations: 28.5 kB / 0.9967 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007281/2.592, allocations: 98.08 kB / 0.9968 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/2.592, allocations: 110.3 kB / 0.9969 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.477e-05/2.592, allocations: 39.03 kB / 0.9969 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007031/2.593, allocations: 0.7423 MB / 0.9977 GB, free: 455.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/2.593, allocations: 0 / 0.9977 GB, free: 455.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003707/2.596, allocations: 1.842 MB / 0.9995 GB, free: 455.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volumeD.h,volumeD1.h,volumeB1.P,volumeB1.h) * 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 (129): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 3 systems {(6,14), (6,14), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01055/2.607, allocations: 5.945 MB / 1.005 GB, free: 454.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003206/2.61, allocations: 2.242 MB / 1.007 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/2.61, allocations: 3.938 kB / 1.007 GB, free: 453.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/2.612, allocations: 1.133 MB / 1.009 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002985/2.615, allocations: 0.686 MB / 1.009 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/2.631, allocations: 14.03 MB / 1.023 GB, free: 445.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/2.632, allocations: 1.428 MB / 1.024 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005951/2.632, allocations: 149.4 kB / 1.024 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/2.633, allocations: 0.8098 MB / 1.025 GB, free: 443.7 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/2.633, allocations: 0 / 1.025 GB, free: 443.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.236/6.869, allocations: 90.09 MB / 1.113 GB, free: 357 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/6.87, allocations: 274.2 kB / 1.113 GB, free: 356.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.396/12.27, allocations: 0 / 1.113 GB, free: 356.6 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestVolumes1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestVolumes1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes1.pipe 2>&1)