Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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 1.654/1.654, allocations: 288.4 MB / 303.3 MB, free: 8.102 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.0008831/0.0008831, allocations: 181.5 kB / 372 MB, free: 10.25 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.613/1.613, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008005/0.0008005, allocations: 90.3 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 10.81 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003204/0.2601, allocations: 2.813 MB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.2624, allocations: 1.755 MB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.2625, allocations: 4 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.2627, allocations: 43.64 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.2631, allocations: 163.2 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.2636, allocations: 233.2 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.264, allocations: 462.6 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006615/0.2647, allocations: 433.6 kB / 0.9854 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.2649, allocations: 131.5 kB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.2652, allocations: 191.3 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.2652, allocations: 12 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.2655, allocations: 139.8 kB / 0.9858 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.557e-05/0.2656, allocations: 111.7 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.2656, allocations: 69.58 kB / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.266, allocations: 347.1 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.266, allocations: 8 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.266, allocations: 0 / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.266, allocations: 0 / 0.9864 GB, free: 20.62 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00096/0.267, allocations: 0.534 MB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.267, allocations: 19.95 kB / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.2671, allocations: 66.52 kB / 0.987 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006933/0.2678, allocations: 103.5 kB / 0.9871 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.2681, allocations: 261.1 kB / 0.9873 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2681, allocations: 24.55 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.2682, allocations: 31.98 kB / 0.9874 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.2688, allocations: 441.1 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2688, allocations: 4 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.2688, allocations: 8 kB / 0.9878 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.269, allocations: 40.53 kB / 0.9878 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.2695, allocations: 353.9 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.2714, allocations: 2.207 MB / 0.9903 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.2718, allocations: 266.9 kB / 0.9906 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.2719, allocations: 166.6 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.272, allocations: 192 / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.272, allocations: 38.75 kB / 0.9908 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.133e-06/0.272, allocations: 0 / 0.9908 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001534/0.2736, allocations: 1.054 MB / 0.9918 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.2736, allocations: 55.41 kB / 0.9919 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2738, allocations: 252.8 kB / 0.9921 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.2738, allocations: 29.7 kB / 0.9921 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.2739, allocations: 188 kB / 0.9923 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.274, allocations: 82.75 kB / 0.9924 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.274, allocations: 12 kB / 0.9924 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.2741, allocations: 330.8 kB / 0.9927 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2743, allocations: 151.9 kB / 0.9929 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.2745, allocations: 245.5 kB / 0.9931 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.2747, allocations: 177.3 kB / 0.9933 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2747, allocations: 4 kB / 0.9933 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009349/0.2757, allocations: 0.581 MB / 0.9938 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2757, allocations: 4 kB / 0.9938 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.2757, allocations: 4.312 kB / 0.9938 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006744/0.2764, allocations: 200.5 kB / 0.994 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.2767, allocations: 59.91 kB / 0.9941 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.279, allocations: 2.292 MB / 0.9963 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.2793, allocations: 23.97 kB / 0.9963 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.2793, allocations: 15.98 kB / 0.9964 GB, free: 9.73 MB / 0.6198 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 (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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.2795, allocations: 171.3 kB / 0.9965 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.2796, allocations: 23.67 kB / 0.9965 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.28, allocations: 356.1 kB / 0.9969 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2801, allocations: 0 / 0.9969 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2801, allocations: 4 kB / 0.9969 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2801, allocations: 3.984 kB / 0.9969 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.2809, allocations: 0.8044 MB / 0.9977 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2809, allocations: 0 / 0.9977 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.2813, allocations: 75.88 kB / 0.9978 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2813, allocations: 4 kB / 0.9978 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2814, allocations: 15.98 kB / 0.9978 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2814, allocations: 0 / 0.9978 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2814, allocations: 0 / 0.9978 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/0.282, allocations: 0.6093 MB / 0.9984 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.2821, allocations: 132.8 kB / 0.9985 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.2821, allocations: 8 kB / 0.9985 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2824, allocations: 11.98 kB / 0.9985 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.2824, allocations: 15.98 kB / 0.9985 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2824, allocations: 7.938 kB / 0.9985 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001352/0.2826, allocations: 184.5 kB / 0.9987 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.32e-07/0.2826, allocations: 0 / 0.9987 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003743/0.283, allocations: 91.94 kB / 0.9988 GB, free: 7.117 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008325/0.2838, allocations: 1.155 MB / 0.9999 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007677/0.2846, allocations: 0.5322 MB / 1 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2846, allocations: 0 / 1 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.2848, allocations: 147.8 kB / 1.001 GB, free: 5.242 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.2852, allocations: 57.14 kB / 1.001 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.2882, allocations: 2.27 MB / 1.003 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.2885, allocations: 0.795 MB / 1.004 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.2887, allocations: 70.91 kB / 1.004 GB, free: 1.938 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2889, allocations: 85.53 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.2889, allocations: 0 / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.31, allocations: 6.287 MB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/0.3104, allocations: 225.7 kB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.267, allocations: 0 / 1.01 GB, free: 11.54 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)