Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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 2.824/2.824, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001448/0.001448, allocations: 182.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.4 MB / 0.6297 GB, free: 10.51 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.0009711/0.0009705, allocations: 101.5 kB / 0.743 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006603/0.0006605, allocations: 15.7 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2174, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005403/0.2228, allocations: 3.565 MB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.2262, allocations: 1.505 MB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.2266, allocations: 4 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.2269, allocations: 67.48 kB / 0.9835 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006997/0.2276, allocations: 183.1 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.2284, allocations: 157.7 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008583/0.2293, allocations: 0.6309 MB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005743/0.2299, allocations: 387 kB / 0.9848 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.2302, allocations: 179.3 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.2308, allocations: 235.2 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.2309, allocations: 24 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003565/0.2312, allocations: 79.89 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2314, allocations: 127.7 kB / 0.9854 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.2315, allocations: 85.52 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.2321, allocations: 403.2 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2321, allocations: 4 kB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2321, allocations: 0 / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2321, allocations: 0 / 0.9859 GB, free: 20.59 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001523/0.2336, allocations: 0.6239 MB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2337, allocations: 12.02 kB / 0.9865 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.2338, allocations: 78.52 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009976/0.2348, allocations: 115.5 kB / 0.9867 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.2354, allocations: 286.4 kB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.638e-05/0.2355, allocations: 58.69 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.2355, allocations: 28 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.2367, allocations: 0.5085 MB / 0.9875 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.2368, allocations: 0 / 0.9875 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.2369, allocations: 16 kB / 0.9875 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/0.2369, allocations: 36.92 kB / 0.9876 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.238, allocations: 387.7 kB / 0.9879 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00318/0.2412, allocations: 2.224 MB / 0.9901 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2423, allocations: 264.7 kB / 0.9904 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.2429, allocations: 168.7 kB / 0.9905 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.2429, allocations: 3.984 kB / 0.9905 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.243, allocations: 42.56 kB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=19): time 2.735e-06/0.243, allocations: 0 / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19): time 0.002313/0.2453, allocations: 0.5752 MB / 0.9911 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.2454, allocations: 51.41 kB / 0.9912 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.2457, allocations: 236.9 kB / 0.9914 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.2457, allocations: 29.7 kB / 0.9914 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2459, allocations: 203.7 kB / 0.9916 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.2459, allocations: 74.94 kB / 0.9917 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.246, allocations: 4 kB / 0.9917 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.246, allocations: 330.8 kB / 0.992 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.2464, allocations: 95.92 kB / 0.9921 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.2468, allocations: 187.5 kB / 0.9923 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.2472, allocations: 118 kB / 0.9924 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2472, allocations: 4 kB / 0.9924 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00154/0.2488, allocations: 374.9 kB / 0.9928 GB, free: 13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.2489, allocations: 164.2 kB / 0.9929 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.249, allocations: 8 kB / 0.9929 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.2501, allocations: 109.6 kB / 0.993 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.2507, allocations: 55.91 kB / 0.9931 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/0.2567, allocations: 2.822 MB / 0.9958 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/0.2574, allocations: 39.67 kB / 0.9959 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.2575, allocations: 12 kB / 0.9959 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2575, allocations: 4 kB / 0.9959 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001858/0.2594, allocations: 313.1 kB / 0.9962 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2595, allocations: 8.25 kB / 0.9962 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007506/0.2602, allocations: 76.78 kB / 0.9963 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.2609, allocations: 63.91 kB / 0.9963 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.265, allocations: 1.491 MB / 0.9978 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005993/0.2656, allocations: 35.81 kB / 0.9978 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.2657, allocations: 8 kB / 0.9978 GB, free: 7.359 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.2661, allocations: 253 kB / 0.9981 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.2662, allocations: 15.81 kB / 0.9981 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.2664, allocations: 30.19 kB / 0.9981 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.2664, allocations: 7.922 kB / 0.9981 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2664, allocations: 3.953 kB / 0.9981 GB, free: 7.043 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2664, allocations: 4 kB / 0.9981 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/0.2693, allocations: 0.8391 MB / 0.999 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2694, allocations: 0 / 0.999 GB, free: 6.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/0.2698, allocations: 35.92 kB / 0.999 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000903/0.2707, allocations: 105.7 kB / 0.9991 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.2708, allocations: 0 / 0.9991 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005176/0.276, allocations: 2.806 MB / 1.002 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.276, allocations: 7.984 kB / 1.002 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.278, allocations: 421.3 kB / 1.002 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.2783, allocations: 112.8 kB / 1.002 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.2784, allocations: 7.938 kB / 1.002 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.2788, allocations: 16 kB / 1.002 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.279, allocations: 19.97 kB / 1.002 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.279, allocations: 8 kB / 1.002 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002727/0.2793, allocations: 160.5 kB / 1.003 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.91e-07/0.2794, allocations: 0 / 1.003 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001627/0.281, allocations: 167.3 kB / 1.003 GB, free: 1.957 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003297/0.2844, allocations: 0.969 MB / 1.004 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.2873, allocations: 0.7567 MB / 1.004 GB, free: 160 kB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.2874, allocations: 0 / 1.004 GB, free: 160 kB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.2888, allocations: 381.7 kB / 1.005 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.2895, allocations: 48.59 kB / 1.005 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.294, allocations: 1.688 MB / 1.006 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.2946, allocations: 0.8068 MB / 1.007 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003809/0.295, allocations: 62.23 kB / 1.007 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.2952, allocations: 87.41 kB / 1.007 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.2953, allocations: 0 / 1.007 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.3294, allocations: 6.572 MB / 1.014 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003634/0.3298, allocations: 220.7 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/3.17, allocations: 0 / 1.014 GB, free: 6.348 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)