Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.73/1.73, allocations: 288.2 MB / 303.2 MB, free: 8.066 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 175.5 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009866/0.0009864, allocations: 85.58 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 10.56 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005532/0.2274, allocations: 3.285 MB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00312/0.2306, allocations: 1.646 MB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.2308, allocations: 7.938 kB / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.2311, allocations: 59.61 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006161/0.2317, allocations: 159.5 kB / 0.9845 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.2325, allocations: 201.3 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.233, allocations: 287.4 kB / 0.985 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004604/0.2335, allocations: 328.3 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2337, allocations: 135.5 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/0.234, allocations: 163.4 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.2341, allocations: 16 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.2343, allocations: 83.81 kB / 0.9857 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2345, allocations: 103.7 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/0.2346, allocations: 85.52 kB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004607/0.2351, allocations: 363.3 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2351, allocations: 0 / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2351, allocations: 0 / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.2351, allocations: 0 / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001302/0.2364, allocations: 0.6088 MB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.2365, allocations: 15.95 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.852e-05/0.2366, allocations: 74.52 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/0.2375, allocations: 91.42 kB / 0.987 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/0.238, allocations: 286.4 kB / 0.9872 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.238, allocations: 20.66 kB / 0.9872 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.2381, allocations: 31.98 kB / 0.9873 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.2393, allocations: 497.8 kB / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.2393, allocations: 0 / 0.9878 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.2394, allocations: 12 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.091e-05/0.2395, allocations: 40.62 kB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.2406, allocations: 386.2 kB / 0.9882 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.2432, allocations: 2.045 MB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.244, allocations: 226.7 kB / 0.9904 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.244, allocations: 0 / 0.9904 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2441, allocations: 38.56 kB / 0.9904 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.2441, allocations: 0 / 0.9904 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001509/0.2456, allocations: 472.7 kB / 0.9909 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.2457, allocations: 51.41 kB / 0.9909 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.246, allocations: 270.6 kB / 0.9912 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.246, allocations: 29.7 kB / 0.9912 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2461, allocations: 211.6 kB / 0.9914 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.2462, allocations: 63.09 kB / 0.9915 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.2462, allocations: 4 kB / 0.9915 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.2463, allocations: 338.8 kB / 0.9918 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.2466, allocations: 104.5 kB / 0.9919 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.2471, allocations: 218.7 kB / 0.9921 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.2475, allocations: 136.6 kB / 0.9922 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2475, allocations: 0 / 0.9922 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001021/0.2485, allocations: 383.7 kB / 0.9926 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.2488, allocations: 1.319 MB / 0.9939 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.2489, allocations: 4 kB / 0.9939 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002653/0.2491, allocations: 32.83 kB / 0.9939 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.2496, allocations: 71.89 kB / 0.994 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.251, allocations: 1.339 MB / 0.9953 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.2513, allocations: 59.52 kB / 0.9954 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2514, allocations: 8 kB / 0.9954 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2514, allocations: 5.25 kB / 0.9954 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008186/0.2522, allocations: 310.1 kB / 0.9957 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2523, allocations: 7.953 kB / 0.9957 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.2523, allocations: 4 kB / 0.9957 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.2527, allocations: 75.89 kB / 0.9957 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2527, allocations: 4 kB / 0.9958 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.253, allocations: 44 kB / 0.9958 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.2531, allocations: 12 kB / 0.9958 GB, free: 10.11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002692/0.2534, allocations: 252.9 kB / 0.996 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.2534, allocations: 23.72 kB / 0.9961 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/0.2535, allocations: 38.12 kB / 0.9961 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2535, allocations: 0 / 0.9961 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2536, allocations: 7.938 kB / 0.9961 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2536, allocations: 0 / 0.9961 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.2541, allocations: 353.4 kB / 0.9964 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2541, allocations: 0 / 0.9964 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.2544, allocations: 43.95 kB / 0.9965 GB, free: 9.352 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.2546, allocations: 24.84 kB / 0.9965 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2547, allocations: 8 kB / 0.9965 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.2557, allocations: 1.335 MB / 0.9978 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2557, allocations: 0 / 0.9978 GB, free: 7.848 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.2566, allocations: 377.3 kB / 0.9982 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.2568, allocations: 116.8 kB / 0.9983 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.2569, allocations: 8 kB / 0.9983 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.2572, allocations: 23.98 kB / 0.9983 GB, free: 7.297 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.2573, allocations: 15.97 kB / 0.9983 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.2573, allocations: 4 kB / 0.9983 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002229/0.2576, allocations: 178 kB / 0.9985 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2576, allocations: 7.938 kB / 0.9985 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009108/0.2585, allocations: 143.5 kB / 0.9987 GB, free: 6.957 MB / 0.6198 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 (17): * Single equations (assignments): 16 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009843/0.2595, allocations: 0.912 MB / 0.9996 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.261, allocations: 0.5238 MB / 1 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.261, allocations: 0 / 1 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.2615, allocations: 235.1 kB / 1 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.2621, allocations: 62.88 kB / 1 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.266, allocations: 3.805 MB / 1.004 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.2664, allocations: 0.8072 MB / 1.005 GB, free: 432 kB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004155/0.2668, allocations: 74.16 kB / 1.005 GB, free: 356 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.267, allocations: 91.41 kB / 1.005 GB, free: 264 kB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.267, allocations: 3.938 kB / 1.005 GB, free: 260 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.2921, allocations: 5.603 MB / 1.01 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/0.2925, allocations: 219.4 kB / 1.011 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.134, allocations: 0 / 1.011 GB, free: 10.61 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)