Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.781/1.781, allocations: 287.4 MB / 302.5 MB, free: 8.301 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.001444/0.001444, allocations: 178.2 kB / 371.1 MB, free: 10.84 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.667/1.667, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009063/0.0009061, allocations: 93.47 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004222, allocations: 16.03 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003945/0.2218, allocations: 3.359 MB / 0.982 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.2244, allocations: 1.661 MB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.2248, allocations: 7.938 kB / 0.9836 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.2251, allocations: 55.56 kB / 0.9837 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.2256, allocations: 187.1 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.2262, allocations: 201.5 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.2267, allocations: 0.5685 MB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004068/0.2271, allocations: 365.5 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.2273, allocations: 155.4 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.2277, allocations: 223.2 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.2277, allocations: 16 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/0.2279, allocations: 87.88 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.2281, allocations: 111.7 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.2281, allocations: 89.5 kB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.2284, allocations: 359.4 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.2284, allocations: 0 / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2285, allocations: 3.938 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.2285, allocations: 0 / 0.986 GB, free: 20.64 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.0008909/0.2294, allocations: 0.612 MB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2294, allocations: 8.031 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.2295, allocations: 70.7 kB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/0.2299, allocations: 88.41 kB / 0.9867 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.2303, allocations: 295.4 kB / 0.987 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.2303, allocations: 21.03 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.2304, allocations: 28.38 kB / 0.987 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.231, allocations: 0.49 MB / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.2311, allocations: 0 / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.2311, allocations: 12 kB / 0.9875 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/0.2312, allocations: 36.58 kB / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.2318, allocations: 386.3 kB / 0.9879 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.2334, allocations: 2.048 MB / 0.9899 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.2339, allocations: 226.7 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.2343, allocations: 168.8 kB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2343, allocations: 0 / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.2344, allocations: 38.55 kB / 0.9904 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.2344, allocations: 7.938 kB / 0.9904 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009386/0.2353, allocations: 453.5 kB / 0.9908 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.2353, allocations: 59.41 kB / 0.9908 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.2355, allocations: 258.6 kB / 0.9911 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.2356, allocations: 33.7 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.2357, allocations: 203.7 kB / 0.9913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.2357, allocations: 67.12 kB / 0.9914 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.2358, allocations: 4 kB / 0.9914 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/0.2358, allocations: 338.8 kB / 0.9917 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.236, allocations: 100.5 kB / 0.9918 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.2363, allocations: 219.4 kB / 0.992 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.2368, allocations: 328 kB / 0.9923 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2368, allocations: 0 / 0.9923 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006374/0.2374, allocations: 385.8 kB / 0.9927 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.2375, allocations: 198 kB / 0.9929 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2375, allocations: 4 kB / 0.9929 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.2377, allocations: 36.77 kB / 0.9929 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.238, allocations: 71.91 kB / 0.993 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008926/0.2389, allocations: 1.327 MB / 0.9943 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.2391, allocations: 55.56 kB / 0.9943 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.2392, allocations: 12 kB / 0.9944 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.2392, allocations: 9.812 kB / 0.9944 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000535/0.2397, allocations: 295.7 kB / 0.9946 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2397, allocations: 4 kB / 0.9947 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.159e-06/0.2397, allocations: 11.94 kB / 0.9947 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.24, allocations: 76.17 kB / 0.9947 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.24, allocations: 8 kB / 0.9947 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2402, allocations: 39.73 kB / 0.9948 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2402, allocations: 12 kB / 0.9948 GB, free: 10.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0001512/0.2404, allocations: 263.1 kB / 0.995 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.2404, allocations: 27.66 kB / 0.9951 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.2405, allocations: 30.12 kB / 0.9951 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.2405, allocations: 11.97 kB / 0.9951 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2405, allocations: 0 / 0.9951 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2405, allocations: 0 / 0.9951 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.2417, allocations: 0.7747 MB / 0.9959 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2417, allocations: 3.938 kB / 0.9959 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.2419, allocations: 47.91 kB / 0.9959 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.018e-05/0.242, allocations: 24.84 kB / 0.9959 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.242, allocations: 0 / 0.9959 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006187/0.2426, allocations: 1.319 MB / 0.9972 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2427, allocations: 12.03 kB / 0.9972 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.2432, allocations: 383.8 kB / 0.9976 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.2433, allocations: 116.8 kB / 0.9977 GB, free: 7.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.2433, allocations: 11.94 kB / 0.9977 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.2435, allocations: 23.97 kB / 0.9978 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.2436, allocations: 15.98 kB / 0.9978 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2436, allocations: 4 kB / 0.9978 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001306/0.2437, allocations: 182 kB / 0.9979 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2437, allocations: 0 / 0.9979 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000498/0.2442, allocations: 143.5 kB / 0.9981 GB, free: 7.258 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * 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.000769/0.245, allocations: 0.9253 MB / 0.999 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009506/0.246, allocations: 0.5017 MB / 0.9995 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.246, allocations: 4.438 kB / 0.9995 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.2463, allocations: 230.5 kB / 0.9997 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.2468, allocations: 73.88 kB / 0.9998 GB, free: 5.473 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.2489, allocations: 1.702 MB / 1.001 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2491, allocations: 0.7996 MB / 1.002 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002161/0.2494, allocations: 66.23 kB / 1.002 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2495, allocations: 83.41 kB / 1.002 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2495, allocations: 0 / 1.002 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.2664, allocations: 5.662 MB / 1.008 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.2667, allocations: 211 kB / 1.008 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.126, allocations: 0 / 1.008 GB, free: 12.98 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)