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.0008082/0.000808, allocations: 91.84 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.001125/0.001125, 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.632/1.632, allocations: 205.4 MB / 222.1 MB, free: 5.871 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.774/1.774, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.0005144/0.0005147, allocations: 18.72 kB / 0.6738 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2503, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004442/0.2548, allocations: 3.363 MB / 0.7907 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.2578, allocations: 1.654 MB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.2581, allocations: 11.94 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.2583, allocations: 55.56 kB / 0.7924 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.2588, allocations: 191.1 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.2594, allocations: 199.6 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005603/0.26, allocations: 0.5608 MB / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.2604, allocations: 328.4 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.2606, allocations: 159.4 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.261, allocations: 223.2 kB / 0.794 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.261, allocations: 16 kB / 0.794 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.2612, allocations: 83.88 kB / 0.7941 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2614, allocations: 115.7 kB / 0.7942 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.2614, allocations: 85.52 kB / 0.7942 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.2618, allocations: 367.3 kB / 0.7946 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2618, allocations: 0 / 0.7946 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2618, allocations: 0 / 0.7946 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2618, allocations: 0 / 0.7946 GB, free: 4.371 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.001087/0.2629, allocations: 0.6157 MB / 0.7952 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.263, allocations: 8.031 kB / 0.7952 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.2631, allocations: 66.53 kB / 0.7953 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005282/0.2636, allocations: 99.41 kB / 0.7954 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.264, allocations: 286.2 kB / 0.7956 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.264, allocations: 24.64 kB / 0.7957 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.2641, allocations: 28 kB / 0.7957 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.2649, allocations: 493.8 kB / 0.7962 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2649, allocations: 0 / 0.7962 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.2649, allocations: 15.98 kB / 0.7962 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.265, allocations: 32.64 kB / 0.7962 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.2657, allocations: 394.2 kB / 0.7966 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.2678, allocations: 2.041 MB / 0.7986 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.2683, allocations: 226.7 kB / 0.7988 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.2687, allocations: 168.8 kB / 0.7989 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.482e-05/0.2687, allocations: 4 kB / 0.799 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2687, allocations: 34.56 kB / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.2687, allocations: 0 / 0.799 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.001002/0.2697, allocations: 462 kB / 0.7994 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.2698, allocations: 59.36 kB / 0.7995 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.2701, allocations: 258.6 kB / 0.7997 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.2701, allocations: 33.7 kB / 0.7998 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.2703, allocations: 203.8 kB / 0.8 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.2703, allocations: 63.09 kB / 0.8 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.2703, allocations: 11.94 kB / 0.8 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2705, allocations: 338.8 kB / 0.8004 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.2707, allocations: 96.5 kB / 0.8004 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.271, allocations: 219.6 kB / 0.8007 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.2713, allocations: 124 kB / 0.8008 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2713, allocations: 0 / 0.8008 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007054/0.272, allocations: 377.9 kB / 0.8011 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.2721, allocations: 201 kB / 0.8013 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.2721, allocations: 4 kB / 0.8013 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.2723, allocations: 36.77 kB / 0.8014 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2726, allocations: 75.91 kB / 0.8014 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.2741, allocations: 1.338 MB / 0.8027 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.2743, allocations: 51.66 kB / 0.8028 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.2744, allocations: 16 kB / 0.8028 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.2744, allocations: 8.094 kB / 0.8028 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005746/0.275, allocations: 295.6 kB / 0.8031 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.275, allocations: 0 / 0.8031 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.275, allocations: 8 kB / 0.8031 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.2753, allocations: 80.14 kB / 0.8032 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2753, allocations: 8 kB / 0.8032 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2755, allocations: 39.72 kB / 0.8032 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.2755, allocations: 16 kB / 0.8032 GB, free: 10.86 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 (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.0002113/0.2757, allocations: 259.7 kB / 0.8035 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.2758, allocations: 31.62 kB / 0.8035 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.2759, allocations: 22.19 kB / 0.8035 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2759, allocations: 4 kB / 0.8035 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.2759, allocations: 3.984 kB / 0.8035 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2759, allocations: 3.953 kB / 0.8036 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.2771, allocations: 0.7724 MB / 0.8043 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2771, allocations: 0 / 0.8043 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2773, allocations: 47.91 kB / 0.8044 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.844e-05/0.2774, allocations: 28.8 kB / 0.8044 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2774, allocations: 4 kB / 0.8044 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.2786, allocations: 1.319 MB / 0.8057 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2786, allocations: 160 / 0.8057 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.2792, allocations: 392.4 kB / 0.806 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.2793, allocations: 120.8 kB / 0.8062 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.2793, allocations: 4 kB / 0.8062 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.2795, allocations: 31.97 kB / 0.8062 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.2796, allocations: 15.98 kB / 0.8062 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2796, allocations: 4 kB / 0.8062 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001584/0.2797, allocations: 182 kB / 0.8064 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2798, allocations: 0 / 0.8064 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005501/0.2803, allocations: 143.5 kB / 0.8065 GB, free: 7.23 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 (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.0009216/0.2812, allocations: 0.9215 MB / 0.8074 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.2823, allocations: 0.5034 MB / 0.8079 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2823, allocations: 4.375 kB / 0.8079 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.2827, allocations: 226.6 kB / 0.8081 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.2832, allocations: 64.62 kB / 0.8082 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.2858, allocations: 1.712 MB / 0.8099 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.2863, allocations: 0.7957 MB / 0.8106 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002317/0.2865, allocations: 74.2 kB / 0.8107 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2866, allocations: 91.34 kB / 0.8108 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2866, allocations: 0 / 0.8108 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.3041, allocations: 5.684 MB / 0.8164 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003081/0.3044, allocations: 208.4 kB / 0.8166 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.018/2.322, allocations: 4 kB / 0.8166 GB, free: 12.93 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/linux/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) Environment - environmentSimulation: