Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) 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(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.001062/0.001062, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.0009442/0.0009442, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.501/2.501, allocations: 409.2 MB / 0.6838 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.883, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004505/0.8875, allocations: 3.503 MB / 0.9843 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004922/0.8925, allocations: 2.806 MB / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.893, allocations: 19.88 kB / 0.987 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.8942, allocations: 406.3 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.8954, allocations: 0.5103 MB / 0.9879 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.8968, allocations: 0.5017 MB / 0.9884 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.8984, allocations: 1.05 MB / 0.9894 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.8987, allocations: 152.5 kB / 0.9896 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006969/0.8994, allocations: 450.5 kB / 0.99 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/0.9001, allocations: 494.1 kB / 0.9905 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-05/0.9002, allocations: 36 kB / 0.9905 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.9009, allocations: 299.6 kB / 0.9908 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.9013, allocations: 382.9 kB / 0.9912 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.9015, allocations: 237.1 kB / 0.9914 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.9026, allocations: 1.033 MB / 0.9924 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9026, allocations: 3.938 kB / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9026, allocations: 0 / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.9026, allocations: 0 / 0.9924 GB, free: 10.38 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002653/0.9053, allocations: 1.456 MB / 0.9938 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9053, allocations: 8.031 kB / 0.9938 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.491e-05/0.9054, allocations: 86.52 kB / 0.9939 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.9056, allocations: 130.4 kB / 0.994 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.9068, allocations: 0.7292 MB / 0.9948 GB, free: 7.863 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.9069, allocations: 45 kB / 0.9948 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.907, allocations: 60 kB / 0.9949 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008647/0.9078, allocations: 0.6099 MB / 0.9954 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.9079, allocations: 0 / 0.9954 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.9079, allocations: 24 kB / 0.9955 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.9079, allocations: 11.94 kB / 0.9955 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.9087, allocations: 0.5582 MB / 0.996 GB, free: 6.535 MB / 0.7481 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.004594/0.9133, allocations: 3.267 MB / 0.9992 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.9147, allocations: 0.8554 MB / 1 GB, free: 2.152 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.45e-05/0.9148, allocations: 20.36 kB / 1 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.9148, allocations: 34.94 kB / 1 GB, free: 2.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 4.228e-06/0.9149, allocations: 3.938 kB / 1 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.001785/0.9166, allocations: 1.192 MB / 1.001 GB, free: 0.8672 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.9167, allocations: 55.41 kB / 1.001 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.9182, allocations: 1.184 MB / 1.002 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.9183, allocations: 41.7 kB / 1.003 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.9187, allocations: 456.7 kB / 1.003 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.9189, allocations: 177.5 kB / 1.003 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.9189, allocations: 16 kB / 1.003 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.9191, allocations: 349.9 kB / 1.003 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008108/0.9199, allocations: 0.6426 MB / 1.004 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.921, allocations: 0.9669 MB / 1.005 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/0.9221, allocations: 0.7482 MB / 1.006 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.9221, allocations: 0 / 1.006 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002633/0.9247, allocations: 1.783 MB / 1.008 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.9248, allocations: 8 kB / 1.008 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-05/0.9248, allocations: 12 kB / 1.008 GB, free: 10.25 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.9251, allocations: 49.45 kB / 1.008 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.9263, allocations: 275.6 kB / 1.008 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.9308, allocations: 6.745 MB / 1.014 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.932, allocations: 139 kB / 1.015 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/0.9321, allocations: 39.98 kB / 1.015 GB, free: 2.695 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004962/0.9326, allocations: 301.4 kB / 1.015 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.9327, allocations: 110.5 kB / 1.015 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.934, allocations: 0.8531 MB / 1.016 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.934, allocations: 7.984 kB / 1.016 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.934, allocations: 0 / 1.016 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.934, allocations: 0 / 1.016 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.9351, allocations: 0.8918 MB / 1.017 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.9351, allocations: 0 / 1.017 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.9357, allocations: 119.8 kB / 1.017 GB, free: 360 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.9358, allocations: 32.8 kB / 1.017 GB, free: 324 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.9358, allocations: 15.98 kB / 1.017 GB, free: 308 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.9369, allocations: 1.342 MB / 1.018 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9369, allocations: 0 / 1.018 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.9385, allocations: 1.382 MB / 1.02 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.939, allocations: 255.5 kB / 1.02 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.9391, allocations: 15.98 kB / 1.02 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.9397, allocations: 27.97 kB / 1.02 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.92e-05/0.9398, allocations: 35.94 kB / 1.02 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.9398, allocations: 12 kB / 1.02 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001148/0.941, allocations: 0.7764 MB / 1.021 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.941, allocations: 4 kB / 1.021 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001262/0.9423, allocations: 367.6 kB / 1.021 GB, free: 11.92 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002415/0.9447, allocations: 2.011 MB / 1.023 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002673/0.9474, allocations: 1.508 MB / 1.024 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9474, allocations: 224 / 1.024 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.948, allocations: 486.2 kB / 1.025 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.9492, allocations: 196.7 kB / 1.025 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/0.9575, allocations: 10.67 MB / 1.035 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008696/0.9584, allocations: 1.121 MB / 1.037 GB, free: 11.6 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006791/0.9591, allocations: 194.3 kB / 1.037 GB, free: 11.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.9596, allocations: 395.3 kB / 1.037 GB, free: 11.02 MB / 0.795 GB Notification: Performance of SimCode: time 1.492e-06/0.9596, allocations: 0 / 1.037 GB, free: 11.02 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04326/1.003, allocations: 22.15 MB / 1.059 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/1.003, allocations: 221.3 kB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.221, allocations: 4 kB / 1.059 GB, free: 4.988 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat does not exist to compare? outputFormat=mat