Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",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.001352/0.001352, allocations: 99.16 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.001868/0.001869, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.942/1.942, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009534/0.0009535, allocations: 16.84 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3182, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004519/0.3228, allocations: 3.484 MB / 0.7906 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.3253, allocations: 1.502 MB / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.3255, allocations: 11.94 kB / 0.7921 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.3258, allocations: 59.61 kB / 0.7922 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.3263, allocations: 151.5 kB / 0.7923 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.3268, allocations: 163.6 kB / 0.7925 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.3273, allocations: 311.3 kB / 0.7928 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.3278, allocations: 385.7 kB / 0.7931 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.328, allocations: 155.5 kB / 0.7933 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.3284, allocations: 167.3 kB / 0.7934 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.3284, allocations: 20 kB / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.3287, allocations: 71.95 kB / 0.7935 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3288, allocations: 119.7 kB / 0.7936 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.81e-05/0.3289, allocations: 85.52 kB / 0.7937 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.3293, allocations: 403.2 kB / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3293, allocations: 0 / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3293, allocations: 0 / 0.7941 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.3294, allocations: 0 / 0.7941 GB, free: 4.758 MB / 0.6075 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.001124/0.3305, allocations: 0.6342 MB / 0.7947 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3305, allocations: 8.031 kB / 0.7947 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.505e-05/0.3306, allocations: 74.53 kB / 0.7948 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007548/0.3314, allocations: 111.5 kB / 0.7949 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.3318, allocations: 294.4 kB / 0.7952 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/0.3319, allocations: 54.7 kB / 0.7952 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.381e-05/0.332, allocations: 32 kB / 0.7953 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008061/0.3328, allocations: 0.5007 MB / 0.7958 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3328, allocations: 0 / 0.7958 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.3329, allocations: 16 kB / 0.7958 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/0.3329, allocations: 28.98 kB / 0.7958 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.3337, allocations: 395.6 kB / 0.7962 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.3362, allocations: 2.224 MB / 0.7984 GB, free: 48 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.337, allocations: 286.6 kB / 0.7986 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3371, allocations: 7.906 kB / 0.7986 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3371, allocations: 30.56 kB / 0.7987 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.3371, allocations: 8 kB / 0.7987 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001574/0.3387, allocations: 0.5834 MB / 0.7992 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3387, allocations: 63.34 kB / 0.7993 GB, free: 15 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.339, allocations: 224.9 kB / 0.7995 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.339, allocations: 25.7 kB / 0.7995 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.3392, allocations: 207.7 kB / 0.7997 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/0.3392, allocations: 74.94 kB / 0.7998 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.3392, allocations: 0 / 0.7998 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3394, allocations: 338.8 kB / 0.8001 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.3396, allocations: 99.88 kB / 0.8002 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.3399, allocations: 174.4 kB / 0.8004 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.3402, allocations: 123.4 kB / 0.8005 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3402, allocations: 7.938 kB / 0.8005 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008394/0.341, allocations: 389.3 kB / 0.8009 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000343/0.3414, allocations: 0.8769 MB / 0.8017 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.3414, allocations: 0 / 0.8017 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/0.3419, allocations: 109.6 kB / 0.8019 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.3421, allocations: 55.91 kB / 0.8019 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.3453, allocations: 2.856 MB / 0.8047 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.3456, allocations: 39.89 kB / 0.8047 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.3457, allocations: 16 kB / 0.8047 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.3457, allocations: 0 / 0.8047 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009281/0.3466, allocations: 323.8 kB / 0.8051 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3466, allocations: 7.938 kB / 0.8051 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/0.3471, allocations: 80.91 kB / 0.8051 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.3474, allocations: 55.91 kB / 0.8052 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.3495, allocations: 1.515 MB / 0.8067 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.3498, allocations: 31.73 kB / 0.8067 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.3498, allocations: 8 kB / 0.8067 GB, free: 6.848 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002741/0.3501, allocations: 253 kB / 0.807 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.3502, allocations: 23.77 kB / 0.807 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.3503, allocations: 34.23 kB / 0.807 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3503, allocations: 0 / 0.807 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3503, allocations: 4 kB / 0.807 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3503, allocations: 0 / 0.807 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.3507, allocations: 369.4 kB / 0.8074 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3507, allocations: 7.938 kB / 0.8074 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3509, allocations: 27.98 kB / 0.8074 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/0.3513, allocations: 109.6 kB / 0.8075 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3513, allocations: 8 kB / 0.8075 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.354, allocations: 2.834 MB / 0.8103 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.354, allocations: 3.938 kB / 0.8103 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007784/0.3548, allocations: 415.7 kB / 0.8107 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.3549, allocations: 112.8 kB / 0.8108 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.355, allocations: 8 kB / 0.8108 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.3552, allocations: 15.98 kB / 0.8108 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.3552, allocations: 15.97 kB / 0.8108 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3553, allocations: 15.89 kB / 0.8108 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001422/0.3554, allocations: 160.5 kB / 0.811 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3554, allocations: 0 / 0.811 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006639/0.3561, allocations: 167.4 kB / 0.8112 GB, free: 1.934 MB / 0.6231 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 (16): * Single equations (assignments): 14 * 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.00102/0.3571, allocations: 0.948 MB / 0.8121 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.359, allocations: 0.7759 MB / 0.8128 GB, free: 144 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.359, allocations: 4 kB / 0.8128 GB, free: 140 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009128/0.36, allocations: 369.6 kB / 0.8132 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3603, allocations: 44.64 kB / 0.8132 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.3636, allocations: 3.025 MB / 0.8162 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.364, allocations: 0.8191 MB / 0.817 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000218/0.3642, allocations: 62.22 kB / 0.817 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.3643, allocations: 87.41 kB / 0.8171 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of SimCode: time 1.683e-06/0.3644, allocations: 0 / 0.8171 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.3856, allocations: 6.473 MB / 0.8235 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.3858, allocations: 211.9 kB / 0.8237 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.43, allocations: 0 / 0.8237 GB, free: 5.078 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) Environment - environmentSimulation: