Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.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.TestVolumes,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestVolumes,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestVolumes",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.7452/0.7452, allocations: 150.8 MB / 166.1 MB, free: 15.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.421e-05, allocations: 4 kB / 204.9 MB, free: 10.09 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.128, allocations: 31.99 MB / 236.8 MB, free: 5.375 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.TestVolumes): time 1.434/1.562, allocations: 299.6 MB / 0.5239 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4246/1.987, allocations: 187 MB / 0.7065 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/1.987, allocations: 13.09 kB / 0.7065 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005486/1.988, allocations: 290.5 kB / 0.7068 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008215/1.989, allocations: 0.5503 MB / 0.7073 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01993/2.009, allocations: 9.346 MB / 0.7165 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00178/2.01, allocations: 2.09 MB / 0.7185 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/2.011, allocations: 0.6937 MB / 0.7192 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/2.012, allocations: 0.6954 MB / 0.7199 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/2.012, allocations: 0.6915 MB / 0.7205 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.236e-05/2.012, allocations: 53.66 kB / 0.7206 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0267/2.039, allocations: 20.2 MB / 0.7403 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003052/2.039, allocations: 248.7 kB / 0.7405 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009934/2.04, allocations: 0.7944 MB / 0.7413 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01775/2.058, allocations: 11.15 MB / 0.7522 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/2.058, allocations: 0 / 0.7522 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/2.058, allocations: 1.75 kB / 0.7522 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.861e-05/2.058, allocations: 0 / 0.7522 GB, free: 13.88 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.005582/2.064, allocations: 2.799 MB / 0.7549 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/2.064, allocations: 8.031 kB / 0.755 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/2.064, allocations: 232.7 kB / 0.7552 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/2.064, allocations: 192.8 kB / 0.7554 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/2.065, allocations: 0.6746 MB / 0.756 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.529e-05/2.065, allocations: 95.55 kB / 0.7561 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/2.065, allocations: 131.9 kB / 0.7562 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/2.067, allocations: 1.784 MB / 0.758 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/2.067, allocations: 6.406 kB / 0.758 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/2.067, allocations: 54.31 kB / 0.758 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/2.067, allocations: 70.48 kB / 0.7581 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/2.069, allocations: 1.241 MB / 0.7593 GB, free: 10.59 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.08713/2.156, allocations: 51.62 MB / 0.8097 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/2.158, allocations: 0.8452 MB / 0.8106 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000916/2.159, allocations: 0.6432 MB / 0.8112 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2788/2.437, allocations: 151.8 MB / 0.9594 GB, free: 2.961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/2.438, allocations: 40 kB / 0.9594 GB, free: 2.914 MB / 0.795 GB Notification: Performance of pre-optimization done (n=204): time 2.364e-06/2.438, allocations: 0 / 0.9594 GB, free: 2.914 MB / 0.795 GB Notification: Performance of matching and sorting (n=204): time 0.007458/2.445, allocations: 3.121 MB / 0.9625 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/2.445, allocations: 141.1 kB / 0.9626 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/2.446, allocations: 0.8526 MB / 0.9635 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/2.446, allocations: 41.7 kB / 0.9635 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/2.446, allocations: 0.5977 MB / 0.9641 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003637/2.447, allocations: 0.6643 MB / 0.9647 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/2.447, allocations: 161.6 kB / 0.9649 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.489e-05/2.447, allocations: 305.1 kB / 0.9652 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009125/2.448, allocations: 0.5066 MB / 0.9657 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/2.449, allocations: 0.8819 MB / 0.9665 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/2.451, allocations: 1.53 MB / 0.968 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/2.451, allocations: 4 kB / 0.968 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003049/2.454, allocations: 2.029 MB / 0.97 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/2.454, allocations: 8 kB / 0.97 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/2.454, allocations: 15.98 kB / 0.97 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007453/2.462, allocations: 3.351 MB / 0.9733 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/2.462, allocations: 131.5 kB / 0.9734 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/2.465, allocations: 1.855 MB / 0.9752 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008163/2.466, allocations: 214 kB / 0.9754 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/2.466, allocations: 55.98 kB / 0.9755 GB, free: 2.113 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.Cs2.b,volumeB1.Cs1.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,volumeA1.Cs2.b,volumeA1.Cs1.b,volumeA1.Ce2.a,volumeA1.Ce1.a,puitsP.C.a,volumeA.Cs2.b,volumeA.Cs1.b,volumeA.Ce2.a,volumeA.Ce1.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,volumeB1.Cs1.a,volumeA1.Ce2.b,volumeA.Ce2.b) * 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.0004045/2.466, allocations: 311.6 kB / 0.9758 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/2.466, allocations: 126.2 kB / 0.9759 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1513/2.618, allocations: 6.302 MB / 0.9821 GB, free: 459 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003006/2.621, allocations: 2.05 MB / 0.9841 GB, free: 458.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/2.621, allocations: 2.75 kB / 0.9841 GB, free: 458.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/2.621, allocations: 8.625 kB / 0.9841 GB, free: 458.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005855/2.627, allocations: 4.77 MB / 0.9887 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/2.627, allocations: 2.156 kB / 0.9887 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/2.627, allocations: 243.7 kB / 0.989 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/2.631, allocations: 1.632 MB / 0.9906 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/2.631, allocations: 31.02 kB / 0.9906 GB, free: 458.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/2.633, allocations: 2.631 MB / 0.9932 GB, free: 456.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/2.633, allocations: 0.8438 kB / 0.9932 GB, free: 456.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/2.637, allocations: 3.131 MB / 0.9962 GB, free: 456.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/2.638, allocations: 417.5 kB / 0.9966 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/2.638, allocations: 31.19 kB / 0.9966 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/2.639, allocations: 102.7 kB / 0.9967 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/2.639, allocations: 108 kB / 0.9969 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/2.639, allocations: 40.38 kB / 0.9969 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006564/2.639, allocations: 0.7405 MB / 0.9976 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/2.639, allocations: 0.5312 kB / 0.9976 GB, free: 455.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003478/2.643, allocations: 1.843 MB / 0.9994 GB, free: 455.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volumeA.h,volumeA1.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.01007/2.653, allocations: 5.94 MB / 1.005 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003092/2.656, allocations: 2.248 MB / 1.007 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/2.656, allocations: 0 / 1.007 GB, free: 453.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/2.658, allocations: 1.127 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.002798/2.661, allocations: 0.6879 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.0149/2.676, allocations: 14.02 MB / 1.023 GB, free: 445.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/2.676, allocations: 1.43 MB / 1.024 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005058/2.677, allocations: 149.5 kB / 1.024 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/2.677, allocations: 0.8035 MB / 1.025 GB, free: 443.7 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/2.677, allocations: 0 / 1.025 GB, free: 443.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.16/7.837, allocations: 90.1 MB / 1.113 GB, free: 357 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/7.838, allocations: 273 kB / 1.113 GB, free: 356.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.226/13.06, allocations: 0 / 1.113 GB, free: 356.7 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestVolumes.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestVolumes.pipe 2>&1)