Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.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.TestCompressor,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestCompressor,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCompressor",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.8273/0.8273, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.884e-05, allocations: 4 kB / 204.9 MB, free: 9.953 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.151, allocations: 31.98 MB / 236.8 MB, free: 5.355 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.TestCompressor): time 1.611/1.762, allocations: 295.4 MB / 0.5198 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4753/2.237, allocations: 192.1 MB / 0.7074 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/2.238, allocations: 3.531 kB / 0.7074 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004999/2.238, allocations: 149.6 kB / 0.7075 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007134/2.239, allocations: 154.9 kB / 0.7077 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02804/2.267, allocations: 10.35 MB / 0.7178 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007711/2.268, allocations: 0.602 MB / 0.7184 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/2.268, allocations: 196.5 kB / 0.7186 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/2.269, allocations: 219.7 kB / 0.7188 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/2.269, allocations: 201.3 kB / 0.719 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/2.269, allocations: 21.19 kB / 0.719 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03897/2.308, allocations: 23.41 MB / 0.7418 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/2.308, allocations: 64.53 kB / 0.7419 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003385/2.309, allocations: 259.6 kB / 0.7421 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02483/2.333, allocations: 11.64 MB / 0.7535 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/2.333, allocations: 0 / 0.7535 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.963e-06/2.333, allocations: 0 / 0.7535 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.686e-06/2.333, allocations: 0 / 0.7535 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.006155/2.34, allocations: 2.025 MB / 0.7555 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/2.34, allocations: 11.53 kB / 0.7555 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.989e-05/2.34, allocations: 93.38 kB / 0.7556 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/2.34, allocations: 57.31 kB / 0.7556 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/2.34, allocations: 307.2 kB / 0.7559 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/2.34, allocations: 27 kB / 0.756 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/2.34, allocations: 37.03 kB / 0.756 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/2.341, allocations: 0.5168 MB / 0.7565 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/2.341, allocations: 0 / 0.7565 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/2.341, allocations: 17.69 kB / 0.7565 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/2.341, allocations: 19.27 kB / 0.7565 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/2.341, allocations: 327.8 kB / 0.7568 GB, free: 11.32 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.002415/2.344, allocations: 2.732 MB / 0.7595 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/2.344, allocations: 283.8 kB / 0.7598 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/2.345, allocations: 151.6 kB / 0.7599 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2442/2.589, allocations: 126 MB / 0.8829 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/2.589, allocations: 39.25 kB / 0.883 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=65): time 2.344e-06/2.589, allocations: 0 / 0.883 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65): time 0.00247/2.591, allocations: 1.014 MB / 0.884 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/2.591, allocations: 63.39 kB / 0.884 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/2.592, allocations: 350.3 kB / 0.8844 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/2.592, allocations: 25.7 kB / 0.8844 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/2.592, allocations: 216.2 kB / 0.8846 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/2.592, allocations: 212.9 kB / 0.8848 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.665e-05/2.592, allocations: 60.11 kB / 0.8848 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001085/2.592, allocations: 349.2 kB / 0.8852 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/2.593, allocations: 116.5 kB / 0.8853 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/2.593, allocations: 210 kB / 0.8855 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/2.593, allocations: 375.4 kB / 0.8859 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/2.593, allocations: 6.906 kB / 0.8859 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00127/2.595, allocations: 0.5903 MB / 0.8864 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/2.595, allocations: 8 kB / 0.8864 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/2.595, allocations: 3.938 kB / 0.8864 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009556/2.596, allocations: 354.3 kB / 0.8868 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/2.596, allocations: 38.88 kB / 0.8868 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/2.597, allocations: 1.868 MB / 0.8886 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/2.597, allocations: 51.72 kB / 0.8887 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/2.597, allocations: 15.56 kB / 0.8887 GB, free: 14.97 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP.C.b,puitsP.C.a,compressor.C2.b,compressor.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001691/2.598, allocations: 170.2 kB / 0.8889 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/2.598, allocations: 43.38 kB / 0.8889 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/2.599, allocations: 1.057 MB / 0.8899 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009202/2.6, allocations: 0.7654 MB / 0.8907 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/2.6, allocations: 4 kB / 0.8907 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/2.6, allocations: 3.984 kB / 0.8907 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/2.603, allocations: 1.886 MB / 0.8925 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/2.603, allocations: 4 kB / 0.8925 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/2.603, allocations: 101.4 kB / 0.8926 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008282/2.604, allocations: 363.8 kB / 0.893 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/2.604, allocations: 17.05 kB / 0.893 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/2.605, allocations: 1.905 MB / 0.8949 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.605, allocations: 6.719 kB / 0.8949 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/2.607, allocations: 0.9207 MB / 0.8958 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/2.607, allocations: 198 kB / 0.896 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/2.607, allocations: 7.375 kB / 0.896 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/2.607, allocations: 15.38 kB / 0.896 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/2.607, allocations: 43.97 kB / 0.896 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/2.607, allocations: 15.69 kB / 0.896 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002486/2.608, allocations: 247 kB / 0.8963 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/2.608, allocations: 0 / 0.8963 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004991/2.613, allocations: 2.012 MB / 0.8982 GB, free: 6.898 MB / 0.7325 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 (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/2.623, allocations: 4.335 MB / 0.9025 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001017/2.624, allocations: 0.7292 MB / 0.9032 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/2.624, allocations: 3.938 kB / 0.9032 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005554/2.625, allocations: 379.2 kB / 0.9036 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/2.626, allocations: 256.4 kB / 0.9038 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00845/2.635, allocations: 5.444 MB / 0.9091 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/2.635, allocations: 0.9232 MB / 0.91 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002799/2.635, allocations: 63.28 kB / 0.9101 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/2.636, allocations: 239.3 kB / 0.9103 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/2.636, allocations: 1.969 kB / 0.9103 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2829/2.918, allocations: 79.36 MB / 0.9878 GB, free: 454.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/2.919, allocations: 273.9 kB / 0.9881 GB, free: 454.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.8/8.718, allocations: 0.75 kB / 0.9881 GB, free: 454.2 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCompressor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestCompressor.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe 2>&1)