Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.0011/0.0011, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 197.2 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.697/1.697, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001399/0.001399, allocations: 63.39 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.241, allocations: 114.6 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.005697/0.2467, allocations: 3.834 MB / 0.7874 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002873/0.2496, allocations: 1.769 MB / 0.7891 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.2499, allocations: 7.938 kB / 0.7891 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.2513, allocations: 459.8 kB / 0.7896 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006075/0.2519, allocations: 238.8 kB / 0.7898 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.2527, allocations: 258.1 kB / 0.79 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.2533, allocations: 0.4906 MB / 0.7905 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005778/0.2538, allocations: 361.1 kB / 0.7909 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.2541, allocations: 195.3 kB / 0.791 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.2544, allocations: 231.2 kB / 0.7913 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.534e-05/0.2545, allocations: 28 kB / 0.7913 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.2548, allocations: 191.5 kB / 0.7915 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.255, allocations: 131.7 kB / 0.7916 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.2552, allocations: 179.1 kB / 0.7918 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.2557, allocations: 0.4906 MB / 0.7922 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2557, allocations: 0 / 0.7922 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2557, allocations: 0 / 0.7922 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.2558, allocations: 3.984 kB / 0.7922 GB, free: 4.402 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001212/0.257, allocations: 0.651 MB / 0.7929 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.257, allocations: 15.97 kB / 0.7929 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.85e-05/0.2571, allocations: 74.72 kB / 0.793 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.2577, allocations: 80.41 kB / 0.793 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.2581, allocations: 307.5 kB / 0.7933 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.2581, allocations: 25.02 kB / 0.7934 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.2582, allocations: 32.38 kB / 0.7934 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.259, allocations: 489.8 kB / 0.7939 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.259, allocations: 0 / 0.7939 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.259, allocations: 15.98 kB / 0.7939 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.812e-05/0.2591, allocations: 44.62 kB / 0.7939 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007007/0.2598, allocations: 362.2 kB / 0.7943 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/0.2618, allocations: 2.029 MB / 0.7962 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.2624, allocations: 210.7 kB / 0.7964 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.2628, allocations: 160.8 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.2629, allocations: 0 / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.2629, allocations: 38.56 kB / 0.7966 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.2629, allocations: 4 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.001108/0.264, allocations: 421.5 kB / 0.797 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.2641, allocations: 51.41 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.2643, allocations: 262.6 kB / 0.7973 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2644, allocations: 33.7 kB / 0.7974 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.2646, allocations: 215.6 kB / 0.7976 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.2646, allocations: 59.11 kB / 0.7976 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.2647, allocations: 57.89 kB / 0.7977 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2649, allocations: 338.8 kB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.2651, allocations: 101.9 kB / 0.7981 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.2654, allocations: 203.6 kB / 0.7983 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.266, allocations: 313.5 kB / 0.7986 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.266, allocations: 3.938 kB / 0.7986 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007525/0.2668, allocations: 360.9 kB / 0.799 GB, free: 13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2668, allocations: 4 kB / 0.799 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2668, allocations: 8.031 kB / 0.799 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.267, allocations: 36.83 kB / 0.799 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.2673, allocations: 67.83 kB / 0.7991 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.2686, allocations: 1.434 MB / 0.8005 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.2689, allocations: 47.66 kB / 0.8005 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.269, allocations: 12 kB / 0.8005 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003598/0.2693, allocations: 212.6 kB / 0.8007 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003111/0.2696, allocations: 216.7 kB / 0.8009 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000564/0.2702, allocations: 315.1 kB / 0.8012 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.2702, allocations: 0 / 0.8012 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006574/0.2709, allocations: 344.8 kB / 0.8016 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.2709, allocations: 4 kB / 0.8016 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2709, allocations: 4 kB / 0.8016 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.602e-06/0.2709, allocations: 8 kB / 0.8016 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.2712, allocations: 75.89 kB / 0.8016 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2712, allocations: 8.406 kB / 0.8017 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.2714, allocations: 39.81 kB / 0.8017 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2715, allocations: 16 kB / 0.8017 GB, free: 9.906 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.2716, allocations: 202.5 kB / 0.8019 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.2717, allocations: 27.72 kB / 0.8019 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.2717, allocations: 30.17 kB / 0.802 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2717, allocations: 4 kB / 0.802 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2717, allocations: 0 / 0.802 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.2718, allocations: 4 kB / 0.802 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.2729, allocations: 0.7421 MB / 0.8027 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.273, allocations: 4.062 kB / 0.8027 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.2732, allocations: 43.91 kB / 0.8027 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00011/0.2733, allocations: 24.84 kB / 0.8028 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.2733, allocations: 0 / 0.8028 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.2745, allocations: 1.429 MB / 0.8042 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2745, allocations: 0 / 0.8042 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.2751, allocations: 368.1 kB / 0.8045 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.2753, allocations: 120.8 kB / 0.8046 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.2753, allocations: 7.938 kB / 0.8046 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2755, allocations: 15.98 kB / 0.8046 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.2756, allocations: 23.91 kB / 0.8047 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2756, allocations: 4 kB / 0.8047 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001716/0.2758, allocations: 186 kB / 0.8049 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2758, allocations: 0 / 0.8049 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005874/0.2764, allocations: 147.5 kB / 0.805 GB, free: 6.277 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009165/0.2773, allocations: 0.9088 MB / 0.8059 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.2783, allocations: 490.2 kB / 0.8063 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2783, allocations: 0 / 0.8063 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.2787, allocations: 227.7 kB / 0.8066 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.2792, allocations: 75.31 kB / 0.8066 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.283, allocations: 2.875 MB / 0.8094 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.2834, allocations: 0.8035 MB / 0.8102 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002136/0.2836, allocations: 74.2 kB / 0.8103 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2837, allocations: 91.41 kB / 0.8104 GB, free: 500 kB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.2838, allocations: 0 / 0.8104 GB, free: 500 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.3102, allocations: 6.246 MB / 0.8165 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.22, allocations: 3.656 kB / 0.8165 GB, free: 10.41 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)