Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.754/2.754, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001542/0.001541, allocations: 177 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.156/2.156, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001111/0.001111, allocations: 102.3 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004967, allocations: 15.47 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2283, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004189/0.2325, allocations: 2.766 MB / 0.981 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003593/0.2362, allocations: 1.716 MB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.2365, allocations: 3.938 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.2367, allocations: 35.77 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.2373, allocations: 155.4 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009072/0.2382, allocations: 219.5 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000447/0.2387, allocations: 239.5 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009775/0.2397, allocations: 438.6 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.2399, allocations: 111.7 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.2403, allocations: 143.5 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.2404, allocations: 12 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.2408, allocations: 123.8 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.241, allocations: 99.77 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.2411, allocations: 69.58 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005059/0.2416, allocations: 363 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2416, allocations: 0 / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2416, allocations: 0 / 0.9846 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.2416, allocations: 0 / 0.9846 GB, free: 21.78 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.001208/0.2428, allocations: 0.5379 MB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2429, allocations: 12.02 kB / 0.9851 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.757e-05/0.243, allocations: 70.52 kB / 0.9852 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.2441, allocations: 99.48 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.2446, allocations: 275.2 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2446, allocations: 20.56 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.2448, allocations: 28 kB / 0.9856 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/0.2457, allocations: 441.1 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.2457, allocations: 3.938 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.2458, allocations: 12 kB / 0.986 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002312/0.246, allocations: 44.48 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/0.2468, allocations: 345.9 kB / 0.9864 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.25, allocations: 2.199 MB / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.2507, allocations: 270.9 kB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.2507, allocations: 4.188 kB / 0.9888 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2507, allocations: 38.67 kB / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.835e-06/0.2507, allocations: 0 / 0.9889 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002551/0.2533, allocations: 1.06 MB / 0.9899 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.2534, allocations: 55.41 kB / 0.9899 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.2537, allocations: 248.9 kB / 0.9902 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.2538, allocations: 29.7 kB / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2539, allocations: 180 kB / 0.9904 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.254, allocations: 94.73 kB / 0.9905 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.254, allocations: 8 kB / 0.9905 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.2541, allocations: 330.8 kB / 0.9908 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.2544, allocations: 151.9 kB / 0.9909 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.2548, allocations: 229.6 kB / 0.9912 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.2553, allocations: 193.3 kB / 0.9913 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2553, allocations: 0 / 0.9913 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001655/0.257, allocations: 0.5771 MB / 0.9919 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.257, allocations: 8 kB / 0.9919 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.257, allocations: 3.938 kB / 0.9919 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.2581, allocations: 192.9 kB / 0.9921 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.2587, allocations: 63.89 kB / 0.9922 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003904/0.2626, allocations: 2.355 MB / 0.9945 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005313/0.2632, allocations: 24.02 kB / 0.9945 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.2632, allocations: 8 kB / 0.9945 GB, free: 11.01 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.0002495/0.2635, allocations: 173.8 kB / 0.9947 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.2636, allocations: 23.72 kB / 0.9947 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.2644, allocations: 355.5 kB / 0.995 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.2644, allocations: 4 kB / 0.995 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2644, allocations: 0 / 0.995 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2644, allocations: 3.984 kB / 0.995 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.2659, allocations: 0.8036 MB / 0.9958 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2659, allocations: 4.062 kB / 0.9958 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007256/0.2666, allocations: 79.88 kB / 0.9959 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.2666, allocations: 0 / 0.9959 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.2667, allocations: 11.98 kB / 0.9959 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2667, allocations: 0 / 0.9959 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.2667, allocations: 4 kB / 0.9959 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.2678, allocations: 0.6335 MB / 0.9965 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.268, allocations: 128.8 kB / 0.9966 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.2681, allocations: 8 kB / 0.9967 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/0.2684, allocations: 11.98 kB / 0.9967 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.2685, allocations: 15.94 kB / 0.9967 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.2686, allocations: 8 kB / 0.9967 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002201/0.2688, allocations: 180.5 kB / 0.9969 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2688, allocations: 7.938 kB / 0.9969 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005946/0.2694, allocations: 88 kB / 0.997 GB, free: 8.355 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.001342/0.2708, allocations: 1.324 MB / 0.9982 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.2721, allocations: 0.5293 MB / 0.9988 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2721, allocations: 0.625 kB / 0.9988 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.2724, allocations: 151.9 kB / 0.9989 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.273, allocations: 48.39 kB / 0.999 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005395/0.2784, allocations: 3.779 MB / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2787, allocations: 0.8028 MB / 1.003 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003874/0.2791, allocations: 74.91 kB / 1.004 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.2794, allocations: 79.41 kB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of SimCode: time 1.844e-06/0.2794, allocations: 4 kB / 1.004 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03942/0.3188, allocations: 6.276 MB / 1.01 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004289/0.3194, allocations: 217.8 kB / 1.01 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/2.969, allocations: 0 / 1.01 GB, free: 11.06 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)