Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 2.003/2.003, allocations: 288.4 MB / 303.3 MB, free: 8.039 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.001005/0.001005, allocations: 186.9 kB / 372 MB, free: 10.27 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.78/1.78, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007438/0.0007441, allocations: 100.2 kB / 0.7441 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 11.84 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2288, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.003755/0.2326, allocations: 3.347 MB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.2352, allocations: 1.673 MB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/0.2356, allocations: 8 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.236, allocations: 59.5 kB / 0.9846 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007241/0.2367, allocations: 191.1 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007531/0.2375, allocations: 193.8 kB / 0.985 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000659/0.2381, allocations: 0.5569 MB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.2386, allocations: 336.3 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.2389, allocations: 155.4 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003377/0.2393, allocations: 231.2 kB / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.2393, allocations: 16 kB / 0.9862 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.2396, allocations: 83.88 kB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.2397, allocations: 119.7 kB / 0.9864 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.2397, allocations: 81.52 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.24, allocations: 359.3 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2401, allocations: 3.984 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2401, allocations: 3.938 kB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.2401, allocations: 0 / 0.9868 GB, free: 20.16 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.0008901/0.241, allocations: 0.6158 MB / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.241, allocations: 12.02 kB / 0.9875 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.208e-05/0.2411, allocations: 70.53 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004844/0.2416, allocations: 91.42 kB / 0.9876 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.2419, allocations: 286.4 kB / 0.9879 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2419, allocations: 20.66 kB / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.242, allocations: 31.98 kB / 0.9879 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.2426, allocations: 489.8 kB / 0.9884 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2427, allocations: 4 kB / 0.9884 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.2427, allocations: 12 kB / 0.9884 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.935e-05/0.2428, allocations: 36.58 kB / 0.9884 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006469/0.2434, allocations: 390.3 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.245, allocations: 2.037 MB / 0.9908 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.2455, allocations: 230.7 kB / 0.991 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.2459, allocations: 168.8 kB / 0.9912 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.2459, allocations: 4 kB / 0.9912 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.246, allocations: 42.55 kB / 0.9912 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.093e-06/0.246, allocations: 3.938 kB / 0.9912 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001025/0.247, allocations: 452.7 kB / 0.9917 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.247, allocations: 59.36 kB / 0.9917 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.2473, allocations: 262.5 kB / 0.992 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2473, allocations: 33.7 kB / 0.992 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2474, allocations: 199.8 kB / 0.9922 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.2474, allocations: 67.09 kB / 0.9923 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.2475, allocations: 8 kB / 0.9923 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.2475, allocations: 334.8 kB / 0.9926 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.2478, allocations: 96.48 kB / 0.9927 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.248, allocations: 223.5 kB / 0.9929 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.2483, allocations: 125.5 kB / 0.993 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2483, allocations: 4 kB / 0.993 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006508/0.249, allocations: 378 kB / 0.9934 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-05/0.2491, allocations: 195.1 kB / 0.9936 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2491, allocations: 4 kB / 0.9936 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002079/0.2493, allocations: 36.83 kB / 0.9936 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.2496, allocations: 71.91 kB / 0.9937 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009279/0.2505, allocations: 1.339 MB / 0.995 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.2508, allocations: 47.66 kB / 0.995 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.2508, allocations: 12 kB / 0.995 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.2508, allocations: 9.5 kB / 0.995 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005228/0.2513, allocations: 295.6 kB / 0.9953 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2513, allocations: 4 kB / 0.9953 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.939e-06/0.2514, allocations: 8 kB / 0.9953 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.2516, allocations: 76.14 kB / 0.9954 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2516, allocations: 7.938 kB / 0.9954 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.2518, allocations: 47.77 kB / 0.9955 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.2519, allocations: 12 kB / 0.9955 GB, free: 10.64 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.0001536/0.252, allocations: 250.3 kB / 0.9957 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2521, allocations: 27.72 kB / 0.9957 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.2521, allocations: 30.17 kB / 0.9958 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2521, allocations: 4 kB / 0.9958 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2521, allocations: 0 / 0.9958 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2521, allocations: 3.953 kB / 0.9958 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009633/0.2531, allocations: 0.771 MB / 0.9965 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2531, allocations: 3.938 kB / 0.9965 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.2533, allocations: 39.97 kB / 0.9966 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.35e-05/0.2534, allocations: 32.8 kB / 0.9966 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.2534, allocations: 0 / 0.9966 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00067/0.2541, allocations: 1.327 MB / 0.9979 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2541, allocations: 8.188 kB / 0.9979 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/0.2547, allocations: 386.5 kB / 0.9983 GB, free: 7.531 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.004e-05/0.2548, allocations: 116.7 kB / 0.9984 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.2548, allocations: 4 kB / 0.9984 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.255, allocations: 27.97 kB / 0.9984 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/0.2551, allocations: 15.98 kB / 0.9984 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.2551, allocations: 4 kB / 0.9984 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001356/0.2552, allocations: 186 kB / 0.9986 GB, free: 7.168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2552, allocations: 3.938 kB / 0.9986 GB, free: 7.164 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005232/0.2558, allocations: 139.5 kB / 0.9988 GB, free: 7.027 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.000754/0.2565, allocations: 0.9275 MB / 0.9997 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000953/0.2575, allocations: 0.5015 MB / 1 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.2575, allocations: 4.438 kB / 1 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.2578, allocations: 234.6 kB / 1 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.2583, allocations: 65.38 kB / 1 GB, free: 5.242 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.2605, allocations: 1.706 MB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2607, allocations: 0.7996 MB / 1.003 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.261, allocations: 70.22 kB / 1.003 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2611, allocations: 87.41 kB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.2611, allocations: 0 / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2794, allocations: 5.706 MB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.2797, allocations: 223.2 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.213, allocations: 4 kB / 1.009 GB, free: 12.71 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)