Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 107.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.363/2.363, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 63.89 kB / 1.059 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2646, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006121/0.2707, allocations: 4.266 MB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2733, allocations: 1.64 MB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.2735, allocations: 8 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.2751, allocations: 0.6032 MB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005229/0.2757, allocations: 234.9 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.2762, allocations: 219.2 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006851/0.2769, allocations: 0.5491 MB / 1.223 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/0.2774, allocations: 326.1 kB / 1.223 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.2778, allocations: 239.3 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005019/0.2783, allocations: 259 kB / 1.224 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.2783, allocations: 36 kB / 1.224 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003282/0.2787, allocations: 171.6 kB / 1.224 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.2788, allocations: 155.5 kB / 1.224 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.2791, allocations: 191.1 kB / 1.224 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.2797, allocations: 0.5292 MB / 1.225 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2797, allocations: 0 / 1.225 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2797, allocations: 0 / 1.225 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.2797, allocations: 4 kB / 1.225 GB, free: 6.512 MB / 0.9669 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.001262/0.281, allocations: 0.686 MB / 1.225 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.281, allocations: 8.031 kB / 1.225 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.139e-05/0.2811, allocations: 82.66 kB / 1.225 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/0.2818, allocations: 112.6 kB / 1.226 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.2822, allocations: 303.8 kB / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/0.2823, allocations: 55.27 kB / 1.226 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.2823, allocations: 28.38 kB / 1.226 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008136/0.2831, allocations: 0.5085 MB / 1.226 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2832, allocations: 4 kB / 1.226 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.2832, allocations: 8 kB / 1.226 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.2832, allocations: 32.98 kB / 1.226 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.2839, allocations: 383.7 kB / 1.227 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.2865, allocations: 2.216 MB / 1.229 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.2871, allocations: 242.6 kB / 1.229 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.2875, allocations: 136.8 kB / 1.229 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.2875, allocations: 4 kB / 1.229 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.2875, allocations: 38.5 kB / 1.229 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.2875, allocations: 0 / 1.229 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001478/0.289, allocations: 0.5769 MB / 1.23 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.289, allocations: 51.41 kB / 1.23 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.2893, allocations: 229 kB / 1.23 GB, free: 408 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2893, allocations: 29.7 kB / 1.23 GB, free: 372 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.2894, allocations: 208.2 kB / 1.23 GB, free: 160 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.2895, allocations: 75.36 kB / 1.231 GB, free: 84 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.441e-05/0.2896, allocations: 53.66 kB / 1.231 GB, free: 24 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.2897, allocations: 338.8 kB / 1.231 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.2899, allocations: 92.8 kB / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.2902, allocations: 184.5 kB / 1.231 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.2907, allocations: 275.7 kB / 1.231 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2907, allocations: 3.938 kB / 1.231 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008507/0.2915, allocations: 374.8 kB / 1.232 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2916, allocations: 4.312 kB / 1.232 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2916, allocations: 8 kB / 1.232 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/0.292, allocations: 113.5 kB / 1.232 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2923, allocations: 51.86 kB / 1.232 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/0.2955, allocations: 3.04 MB / 1.235 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.2957, allocations: 43.64 kB / 1.235 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.2958, allocations: 12 kB / 1.235 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003222/0.2961, allocations: 224.1 kB / 1.235 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002765/0.2964, allocations: 179.6 kB / 1.235 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004587/0.2968, allocations: 267.3 kB / 1.236 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.2968, allocations: 0 / 1.236 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007712/0.2976, allocations: 354 kB / 1.236 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.2976, allocations: 4 kB / 1.236 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2976, allocations: 4 kB / 1.236 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.2979, allocations: 88.84 kB / 1.236 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.2981, allocations: 51.91 kB / 1.236 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.3001, allocations: 1.615 MB / 1.238 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.3003, allocations: 31.81 kB / 1.238 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3003, allocations: 8 kB / 1.238 GB, free: 8.098 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.3005, allocations: 207 kB / 1.238 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.3005, allocations: 23.86 kB / 1.238 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.3006, allocations: 26.19 kB / 1.238 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3006, allocations: 4 kB / 1.238 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3006, allocations: 3.938 kB / 1.238 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3006, allocations: 3.984 kB / 1.238 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.3019, allocations: 0.823 MB / 1.239 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3019, allocations: 0 / 1.239 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.3021, allocations: 27.98 kB / 1.239 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003691/0.3024, allocations: 113.8 kB / 1.239 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.3024, allocations: 4 kB / 1.239 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.3054, allocations: 3.02 MB / 1.242 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.3054, allocations: 144 / 1.242 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.3062, allocations: 425.1 kB / 1.242 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3063, allocations: 116.9 kB / 1.242 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.3063, allocations: 4 kB / 1.242 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.3065, allocations: 19.92 kB / 1.242 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.3065, allocations: 23.91 kB / 1.242 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3065, allocations: 4 kB / 1.242 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001472/0.3067, allocations: 164.5 kB / 1.243 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3067, allocations: 0 / 1.243 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005607/0.3072, allocations: 171.5 kB / 1.243 GB, free: 2.523 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001047/0.3083, allocations: 0.942 MB / 1.244 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.3101, allocations: 0.7522 MB / 1.244 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3101, allocations: 0 / 1.244 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.3109, allocations: 361.2 kB / 1.245 GB, free: 384 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.3113, allocations: 58.62 kB / 1.245 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.3154, allocations: 2.849 MB / 1.248 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.3159, allocations: 0.8261 MB / 1.248 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.3161, allocations: 54.25 kB / 1.248 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3163, allocations: 91.41 kB / 1.249 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.3163, allocations: 0 / 1.249 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03922/0.3555, allocations: 7.455 MB / 1.256 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.82, allocations: 4.672 kB / 1.256 GB, free: 5.012 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.517193043997395]