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.001712/0.001712, allocations: 109.4 kB / 15.69 MB, free: 128 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.001957/0.001957, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.367/1.367, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.67/1.67, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001576/0.001577, allocations: 71 kB / 0.6718 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2455, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006135/0.2517, allocations: 3.838 MB / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00296/0.2547, allocations: 1.777 MB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003007/0.255, allocations: 4 kB / 0.7891 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.2564, allocations: 454.2 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005582/0.2569, allocations: 238.8 kB / 0.7898 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.2575, allocations: 261.8 kB / 0.79 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004935/0.258, allocations: 494.5 kB / 0.7905 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005448/0.2586, allocations: 369.1 kB / 0.7908 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2588, allocations: 195.3 kB / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.2592, allocations: 239.1 kB / 0.7913 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.2592, allocations: 28 kB / 0.7913 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003214/0.2596, allocations: 183.6 kB / 0.7915 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.2597, allocations: 139.7 kB / 0.7916 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.2599, allocations: 171.1 kB / 0.7918 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.2605, allocations: 0.4906 MB / 0.7922 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2605, allocations: 0 / 0.7922 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2605, allocations: 3.938 kB / 0.7922 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.2605, allocations: 0 / 0.7922 GB, free: 4.391 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.001309/0.2618, allocations: 0.655 MB / 0.7929 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2619, allocations: 8.031 kB / 0.7929 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.2619, allocations: 78.64 kB / 0.793 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005885/0.2625, allocations: 84.41 kB / 0.793 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.263, allocations: 303.5 kB / 0.7933 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.263, allocations: 21.03 kB / 0.7934 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.263, allocations: 28.38 kB / 0.7934 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000767/0.2638, allocations: 493.8 kB / 0.7939 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2638, allocations: 0 / 0.7939 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.2639, allocations: 12 kB / 0.7939 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.2639, allocations: 36.64 kB / 0.7939 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/0.2647, allocations: 370.2 kB / 0.7943 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.267, allocations: 2.041 MB / 0.7962 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/0.2676, allocations: 214.7 kB / 0.7964 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.268, allocations: 148.8 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.2681, allocations: 11.98 kB / 0.7966 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.2681, allocations: 30.56 kB / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.2681, allocations: 0 / 0.7966 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.001099/0.2692, allocations: 429.5 kB / 0.797 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/0.2693, allocations: 51.41 kB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.2696, allocations: 262.6 kB / 0.7973 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.2696, allocations: 33.7 kB / 0.7974 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.2698, allocations: 207.6 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.2699, allocations: 63.09 kB / 0.7976 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.27, allocations: 65.89 kB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.2702, allocations: 338.8 kB / 0.798 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.2704, allocations: 97.91 kB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.2708, allocations: 199.6 kB / 0.7983 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.2714, allocations: 309.4 kB / 0.7986 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2714, allocations: 8 kB / 0.7986 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007215/0.2721, allocations: 360.8 kB / 0.7989 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2721, allocations: 4 kB / 0.799 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2721, allocations: 7.938 kB / 0.799 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.2724, allocations: 32.83 kB / 0.799 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.2726, allocations: 67.84 kB / 0.7991 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.2742, allocations: 1.44 MB / 0.8005 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.2744, allocations: 39.67 kB / 0.8005 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.2745, allocations: 19.98 kB / 0.8005 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004376/0.2749, allocations: 212.6 kB / 0.8007 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003128/0.2752, allocations: 220.7 kB / 0.8009 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006806/0.2759, allocations: 318.6 kB / 0.8012 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/0.2759, allocations: 0 / 0.8012 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006302/0.2766, allocations: 344.8 kB / 0.8016 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.2766, allocations: 4 kB / 0.8016 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2766, allocations: 4 kB / 0.8016 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.2766, allocations: 8.5 kB / 0.8016 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.2769, allocations: 75.89 kB / 0.8017 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2769, allocations: 4 kB / 0.8017 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.2771, allocations: 31.83 kB / 0.8017 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.2772, allocations: 15.98 kB / 0.8017 GB, free: 9.902 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.0001398/0.2773, allocations: 207.3 kB / 0.8019 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.2774, allocations: 23.72 kB / 0.8019 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.2774, allocations: 38.17 kB / 0.802 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2774, allocations: 4 kB / 0.802 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2774, allocations: 0 / 0.802 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2775, allocations: 0 / 0.802 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.2789, allocations: 0.746 MB / 0.8027 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2789, allocations: 0 / 0.8027 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.2791, allocations: 47.91 kB / 0.8027 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-05/0.2792, allocations: 20.84 kB / 0.8028 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2793, allocations: 4 kB / 0.8028 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.2807, allocations: 1.433 MB / 0.8042 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2807, allocations: 0 / 0.8042 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.2814, allocations: 365.6 kB / 0.8045 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.2815, allocations: 112.8 kB / 0.8046 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.2816, allocations: 8 kB / 0.8046 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.2818, allocations: 15.98 kB / 0.8046 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.2818, allocations: 19.91 kB / 0.8047 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.2818, allocations: 11.94 kB / 0.8047 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001703/0.282, allocations: 182 kB / 0.8048 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.282, allocations: 4 kB / 0.8048 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006107/0.2827, allocations: 147.5 kB / 0.805 GB, free: 6.266 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.001046/0.2837, allocations: 0.902 MB / 0.8059 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.2848, allocations: 493.5 kB / 0.8063 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2848, allocations: 0 / 0.8063 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003386/0.2851, allocations: 230.6 kB / 0.8066 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.2857, allocations: 68.38 kB / 0.8066 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.2896, allocations: 2.869 MB / 0.8094 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.29, allocations: 0.8035 MB / 0.8102 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.2902, allocations: 70.22 kB / 0.8103 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.2904, allocations: 87.41 kB / 0.8104 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.2905, allocations: 4 kB / 0.8104 GB, free: 500 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.3173, allocations: 6.254 MB / 0.8165 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.27, allocations: 7.938 kB / 0.8165 GB, free: 10.39 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)