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.0009088/0.0009087, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008578/0.0008578, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, 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.909/1.909, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0009039/0.000904, allocations: 19.03 kB / 0.6738 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2793, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.00611/0.2855, allocations: 3.577 MB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.2884, allocations: 1.49 MB / 0.7923 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003697/0.2888, allocations: 11.94 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.2892, allocations: 59.5 kB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007489/0.2899, allocations: 183.1 kB / 0.7926 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.2907, allocations: 171.6 kB / 0.7928 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000847/0.2915, allocations: 0.6192 MB / 0.7934 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.2921, allocations: 389.7 kB / 0.7937 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.2925, allocations: 179.4 kB / 0.7939 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/0.2931, allocations: 231.2 kB / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.73e-05/0.2932, allocations: 27.94 kB / 0.7941 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003058/0.2935, allocations: 79.89 kB / 0.7942 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.2936, allocations: 131.6 kB / 0.7943 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.2938, allocations: 89.45 kB / 0.7944 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004545/0.2942, allocations: 395.3 kB / 0.7948 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.2942, allocations: 3.984 kB / 0.7948 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.346e-06/0.2942, allocations: 0 / 0.7948 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.2943, allocations: 3.938 kB / 0.7948 GB, free: 4.156 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.001202/0.2955, allocations: 0.6239 MB / 0.7954 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2955, allocations: 8.031 kB / 0.7954 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.2957, allocations: 78.52 kB / 0.7955 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00072/0.2964, allocations: 111.5 kB / 0.7956 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.2968, allocations: 290.4 kB / 0.7959 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/0.2969, allocations: 54.7 kB / 0.7959 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.297, allocations: 35.98 kB / 0.796 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008692/0.2979, allocations: 0.5007 MB / 0.7965 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2979, allocations: 0 / 0.7965 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.2979, allocations: 19.98 kB / 0.7965 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.284e-05/0.298, allocations: 28.97 kB / 0.7965 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.2987, allocations: 399.6 kB / 0.7969 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/0.3013, allocations: 2.22 MB / 0.7991 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.302, allocations: 266.6 kB / 0.7993 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.3023, allocations: 156.8 kB / 0.7995 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.3024, allocations: 3.984 kB / 0.7995 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3024, allocations: 42.56 kB / 0.7995 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.3024, allocations: 0 / 0.7995 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of matching and sorting (n=19): time 0.001461/0.3039, allocations: 0.5752 MB / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3039, allocations: 55.41 kB / 0.8001 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.3042, allocations: 236.9 kB / 0.8004 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3042, allocations: 33.7 kB / 0.8004 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.3044, allocations: 203.7 kB / 0.8006 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.3044, allocations: 70.94 kB / 0.8006 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.3045, allocations: 8 kB / 0.8007 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3046, allocations: 330.8 kB / 0.801 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.3049, allocations: 95.94 kB / 0.8011 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.3051, allocations: 179.1 kB / 0.8012 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.3054, allocations: 126.7 kB / 0.8014 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3054, allocations: 3.953 kB / 0.8014 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008557/0.3063, allocations: 378.9 kB / 0.8017 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.3064, allocations: 153.7 kB / 0.8019 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3065, allocations: 7.938 kB / 0.8019 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005147/0.307, allocations: 113.5 kB / 0.802 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3072, allocations: 55.92 kB / 0.802 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/0.3106, allocations: 2.822 MB / 0.8048 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.311, allocations: 35.67 kB / 0.8048 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.311, allocations: 8 kB / 0.8048 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.311, allocations: 4 kB / 0.8048 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007728/0.3118, allocations: 315 kB / 0.8051 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3118, allocations: 4.312 kB / 0.8051 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.3121, allocations: 84.72 kB / 0.8052 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.3124, allocations: 59.91 kB / 0.8053 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.3142, allocations: 1.494 MB / 0.8067 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.3145, allocations: 35.75 kB / 0.8068 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.3145, allocations: 12 kB / 0.8068 GB, free: 6.922 MB / 0.6231 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.0002982/0.3148, allocations: 249 kB / 0.807 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.3149, allocations: 19.81 kB / 0.807 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.3149, allocations: 30.17 kB / 0.8071 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.315, allocations: 4 kB / 0.8071 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.315, allocations: 4 kB / 0.8071 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.315, allocations: 3.953 kB / 0.8071 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.3164, allocations: 0.8405 MB / 0.8079 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3164, allocations: 0 / 0.8079 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3165, allocations: 31.97 kB / 0.8079 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/0.3169, allocations: 113.6 kB / 0.808 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3169, allocations: 0 / 0.808 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.3196, allocations: 2.811 MB / 0.8108 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3196, allocations: 0 / 0.8108 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.3203, allocations: 418.5 kB / 0.8112 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3205, allocations: 116.8 kB / 0.8113 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3205, allocations: 11.95 kB / 0.8113 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3207, allocations: 15.98 kB / 0.8113 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.3208, allocations: 23.91 kB / 0.8113 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.3208, allocations: 8 kB / 0.8114 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001453/0.3209, allocations: 156.5 kB / 0.8115 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3209, allocations: 0 / 0.8115 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007046/0.3217, allocations: 171.3 kB / 0.8117 GB, free: 1.516 MB / 0.6231 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.001025/0.3227, allocations: 0.9642 MB / 0.8126 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.3245, allocations: 0.7621 MB / 0.8133 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3245, allocations: 0 / 0.8133 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.3252, allocations: 377.7 kB / 0.8137 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.3257, allocations: 67.03 kB / 0.8138 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.3287, allocations: 1.684 MB / 0.8154 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.3291, allocations: 0.8107 MB / 0.8162 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002179/0.3293, allocations: 54.25 kB / 0.8163 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.3295, allocations: 91.39 kB / 0.8163 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/0.3295, allocations: 0 / 0.8163 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.3508, allocations: 6.553 MB / 0.8227 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.3511, allocations: 224.4 kB / 0.823 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.352, allocations: 0 / 0.823 GB, free: 5.906 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: