Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009107, allocations: 90.55 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009953/0.0009953, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241.1 MB, free: 5.391 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002623/0.0002623, allocations: 6.688 kB / 300.8 MB, free: 6.059 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.09978, allocations: 50.42 MB / 351.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3815/0.4813, allocations: 127.6 MB / 478.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.4826, allocations: 0.869 MB / 479.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.4827, allocations: 0 / 479.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.483, allocations: 64.72 kB / 479.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.4834, allocations: 222.5 kB / 480 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.4854, allocations: 0.7668 MB / 480.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.488, allocations: 3.074 MB / 483.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.4883, allocations: 258 kB / 484.1 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/0.4916, allocations: 1.891 MB / 486 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.4945, allocations: 1.636 MB / 487.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000514/0.495, allocations: 139.9 kB / 487.7 MB, free: 8.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.4982, allocations: 1.341 MB / 489.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.4992, allocations: 1.009 MB / 490.1 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009601/0.5002, allocations: 0.4964 MB / 490.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.5035, allocations: 3.149 MB / 493.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.5035, allocations: 0 / 493.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.5035, allocations: 0 / 493.7 MB, free: 6.141 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.597e-05/0.5036, allocations: 0 / 493.7 MB, free: 6.141 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.007835/0.5115, allocations: 2.896 MB / 496.6 MB, free: 3.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5115, allocations: 8.031 kB / 496.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008082/0.5123, allocations: 375.1 kB / 497 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.5143, allocations: 324.1 kB / 497.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00317/0.5175, allocations: 1.313 MB / 498.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.5176, allocations: 181 kB / 498.8 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/0.518, allocations: 246.2 kB / 499.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005839/0.5238, allocations: 3.776 MB / 0.491 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.5239, allocations: 2.531 kB / 0.491 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003543/0.5243, allocations: 115.9 kB / 0.4912 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/0.5243, allocations: 59.95 kB / 0.4912 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008411/0.5327, allocations: 5.971 MB / 0.497 GB, free: 9.836 MB / 382.1 MB 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.02186/0.5546, allocations: 11.19 MB / 0.508 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/0.5619, allocations: 5.016 MB / 0.5129 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.5626, allocations: 445.8 kB / 0.5133 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.5627, allocations: 98.56 kB / 0.5134 GB, free: 10.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=390): time 5.25e-06/0.5627, allocations: 0 / 0.5134 GB, free: 10.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=390): time 0.009721/0.5725, allocations: 5.781 MB / 0.519 GB, free: 4.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.5726, allocations: 102.5 kB / 0.5191 GB, free: 4.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.5737, allocations: 0.8596 MB / 0.52 GB, free: 3.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004311/0.5741, allocations: 105.7 kB / 0.5201 GB, free: 3.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.5745, allocations: 0.5133 MB / 0.5206 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.5756, allocations: 1.303 MB / 0.5218 GB, free: 1.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.5758, allocations: 68 kB / 0.5219 GB, free: 1.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002958/0.5761, allocations: 0.5022 MB / 0.5224 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/0.5788, allocations: 1.729 MB / 0.5241 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003056/0.5819, allocations: 2.234 MB / 0.5263 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.5851, allocations: 2.103 MB / 0.5283 GB, free: 10.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.5852, allocations: 0 / 0.5283 GB, free: 10.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00742/0.5926, allocations: 4.555 MB / 0.5328 GB, free: 5.949 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.5927, allocations: 12 kB / 0.5328 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.5927, allocations: 20.08 kB / 0.5328 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.301e-05/0.5928, allocations: 31.95 kB / 0.5328 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/0.5964, allocations: 0.784 MB / 0.5336 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.343e-05/0.5964, allocations: 36.55 kB / 0.5336 GB, free: 5.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.5992, allocations: 436.4 kB / 0.534 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/0.5996, allocations: 143.9 kB / 0.5342 GB, free: 4.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001663/0.6013, allocations: 0.7582 MB / 0.5349 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006132/0.6019, allocations: 209.8 kB / 0.5351 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009472/0.6114, allocations: 5.17 MB / 0.5402 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-05/0.6114, allocations: 47.89 kB / 0.5402 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.6115, allocations: 4.875 kB / 0.5402 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/0.6115, allocations: 19.92 kB / 0.5402 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005229/0.6167, allocations: 2.819 MB / 0.543 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6168, allocations: 0 / 0.543 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00342/0.6202, allocations: 0.7255 MB / 0.5437 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.15e-05/0.6203, allocations: 16 kB / 0.5437 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/0.6205, allocations: 95.95 kB / 0.5438 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/0.6206, allocations: 12 kB / 0.5438 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6206, allocations: 3.953 kB / 0.5438 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.6317, allocations: 7.187 MB / 0.5508 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009746/0.6327, allocations: 353.8 kB / 0.5512 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004757/0.6332, allocations: 75.98 kB / 0.5513 GB, free: 2.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003172/0.6364, allocations: 299.5 kB / 0.5515 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005711/0.637, allocations: 310.9 kB / 0.5518 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003863/0.6374, allocations: 183.8 kB / 0.552 GB, free: 2.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008963/0.6383, allocations: 0.6824 MB / 0.5527 GB, free: 1.488 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6383, allocations: 0 / 0.5527 GB, free: 1.488 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002679/0.641, allocations: 1.077 MB / 0.5537 GB, free: 420 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01161/0.6526, allocations: 8.071 MB / 0.5616 GB, free: 8.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007104/0.6597, allocations: 4.245 MB / 0.5658 GB, free: 4.062 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.6598, allocations: 6.562 kB / 0.5658 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003516/0.6633, allocations: 2.255 MB / 0.568 GB, free: 1.805 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005936/0.6692, allocations: 1.161 MB / 0.5691 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03683/0.7061, allocations: 25.8 MB / 0.5943 GB, free: 6.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.7076, allocations: 1.88 MB / 0.5961 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005619/0.7132, allocations: 1.768 MB / 0.5979 GB, free: 2.398 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/0.7149, allocations: 0.8702 MB / 0.5987 GB, free: 1.527 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7149, allocations: 4 kB / 0.5987 GB, free: 1.523 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2786/0.9935, allocations: 77.9 MB / 0.6748 GB, free: 128.2 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001221/0.9937, allocations: 206 kB / 0.675 GB, free: 128 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.282/5.276, allocations: 0 / 0.675 GB, free: 128 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat