Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule",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.004361/0.004361, allocations: 100.8 kB / 15.73 MB, free: 6.445 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.001305/0.001305, allocations: 191.6 kB / 16.67 MB, free: 6.348 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.726/2.726, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 59.91 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2732, allocations: 162.3 MB / 1.242 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.WeeklySchedule): time 0.00241/0.2757, allocations: 1.348 MB / 1.243 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.2758, allocations: 39.77 kB / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.2759, allocations: 0 / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.276, allocations: 15.92 kB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.2761, allocations: 15.92 kB / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.2762, allocations: 0 / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.17e-05/0.2762, allocations: 7.938 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.2763, allocations: 11.98 kB / 1.243 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.2763, allocations: 11.94 kB / 1.243 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.091e-05/0.2763, allocations: 4 kB / 1.243 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2764, allocations: 0 / 1.243 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.079e-05/0.2764, allocations: 7.984 kB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.634e-05/0.2764, allocations: 15.92 kB / 1.243 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.2765, allocations: 3.938 kB / 1.243 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.347e-05/0.2766, allocations: 31.84 kB / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2766, allocations: 0 / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2766, allocations: 0 / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2766, allocations: 0 / 1.243 GB, free: 8.242 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003262/0.2769, allocations: 335.4 kB / 1.244 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.277, allocations: 8.031 kB / 1.244 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.277, allocations: 30.75 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.277, allocations: 4.938 kB / 1.244 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.2772, allocations: 184.2 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-06/0.2772, allocations: 384 / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.2772, allocations: 384 / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/0.2773, allocations: 38.25 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2773, allocations: 7.938 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.2774, allocations: 0 / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.2774, allocations: 0 / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.2774, allocations: 4 kB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.2777, allocations: 244.9 kB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.369e-05/0.2777, allocations: 22.45 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.65e-05/0.2777, allocations: 8.922 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.2778, allocations: 4 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2778, allocations: 38.5 kB / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2778, allocations: 0 / 1.244 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.2779, allocations: 41.62 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.278, allocations: 55.34 kB / 1.244 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.2781, allocations: 113.8 kB / 1.244 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.2781, allocations: 25.7 kB / 1.244 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.2782, allocations: 92.22 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.2782, allocations: 0 / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.2782, allocations: 13.72 kB / 1.245 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2783, allocations: 318.8 kB / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.2783, allocations: 0 / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.2784, allocations: 0 / 1.245 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.896e-05/0.2784, allocations: 8.859 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2784, allocations: 3.938 kB / 1.245 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.789e-05/0.2785, allocations: 45.7 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2785, allocations: 11.98 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2785, allocations: 0 / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2785, allocations: 4 kB / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.579e-05/0.2785, allocations: 0 / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.2786, allocations: 0 / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.2786, allocations: 3.953 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.2786, allocations: 4.312 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.2787, allocations: 111.2 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.2787, allocations: 8.031 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.2788, allocations: 45.2 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2788, allocations: 0 / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2788, allocations: 0 / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2788, allocations: 7.938 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.279, allocations: 157.6 kB / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.279, allocations: 0 / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.279, allocations: 0 / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.279, allocations: 0 / 1.245 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.279, allocations: 7.984 kB / 1.245 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.279, allocations: 4.031 kB / 1.245 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.279, allocations: 0 / 1.245 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.2791, allocations: 135.5 kB / 1.245 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.2792, allocations: 81.05 kB / 1.245 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2792, allocations: 3.984 kB / 1.245 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.2792, allocations: 0 / 1.245 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.2792, allocations: 0 / 1.245 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.2792, allocations: 8.031 kB / 1.245 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.735e-05/0.2793, allocations: 87.28 kB / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2793, allocations: 0 / 1.246 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002065/0.2795, allocations: 7.984 kB / 1.246 GB, free: 5.617 MB / 0.9981 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004696/0.28, allocations: 0.6943 MB / 1.246 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.261e-05/0.2801, allocations: 8 kB / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2801, allocations: 0 / 1.246 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.796e-06/0.2801, allocations: 7.938 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.2803, allocations: 6.344 kB / 1.246 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00093/0.2812, allocations: 1.179 MB / 1.247 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2815, allocations: 0.6807 MB / 1.248 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.468e-05/0.2816, allocations: 4 kB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.2816, allocations: 11.44 kB / 1.248 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.2816, allocations: 4 kB / 1.248 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2242/0.5058, allocations: 1.379 MB / 1.249 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/8.125, allocations: 5.656 kB / 1.249 GB, free: 1.594 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule_fmu --startTime=-10000 --stopTime=1e+06 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_WeeklySchedule.fmu > Buildings_latest_Buildings.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)