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.58/1.58, allocations: 288.2 MB / 303.2 MB, free: 8.152 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.001118/0.001118, allocations: 182.3 kB / 371.8 MB, free: 10.29 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.474/1.474, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008535/0.0008536, allocations: 97.2 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004392, allocations: 15.03 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2389, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.002735/0.2416, allocations: 2.766 MB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.2439, allocations: 1.712 MB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.244, allocations: 11.94 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.2442, allocations: 39.77 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.2447, allocations: 151.5 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.2453, allocations: 225.5 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.2455, allocations: 239.5 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000659/0.2462, allocations: 433.5 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.2464, allocations: 111.7 kB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.2466, allocations: 147.4 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.521e-05/0.2467, allocations: 12 kB / 0.9852 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.2469, allocations: 123.8 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.247, allocations: 99.75 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.2471, allocations: 73.58 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.2474, allocations: 359 kB / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2474, allocations: 0 / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2474, allocations: 0 / 0.9858 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2474, allocations: 0 / 0.9858 GB, free: 21.08 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.0008441/0.2483, allocations: 0.534 MB / 0.9863 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2483, allocations: 12.02 kB / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.2484, allocations: 70.52 kB / 0.9864 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006936/0.2491, allocations: 103.5 kB / 0.9865 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.2494, allocations: 273.1 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2494, allocations: 20.5 kB / 0.9868 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2495, allocations: 35.98 kB / 0.9868 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.2501, allocations: 437.1 kB / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2501, allocations: 0 / 0.9872 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.2501, allocations: 15.98 kB / 0.9872 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.2503, allocations: 36.53 kB / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.2507, allocations: 353.9 kB / 0.9876 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.2526, allocations: 2.195 MB / 0.9898 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.253, allocations: 276.7 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.253, allocations: 4.188 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.253, allocations: 38.75 kB / 0.9901 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.253, allocations: 0 / 0.9901 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001464/0.2545, allocations: 1.058 MB / 0.9911 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.2546, allocations: 55.41 kB / 0.9911 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.2548, allocations: 248.8 kB / 0.9914 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.2548, allocations: 33.7 kB / 0.9914 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.2549, allocations: 180 kB / 0.9916 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.2549, allocations: 90.73 kB / 0.9917 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.2549, allocations: 12 kB / 0.9917 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.255, allocations: 330.8 kB / 0.992 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.2552, allocations: 151.9 kB / 0.9921 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.2554, allocations: 233.5 kB / 0.9924 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.2556, allocations: 189.3 kB / 0.9925 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2556, allocations: 0 / 0.9925 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008824/0.2565, allocations: 0.5812 MB / 0.9931 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2566, allocations: 8 kB / 0.9931 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2566, allocations: 0 / 0.9931 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006296/0.2572, allocations: 200.7 kB / 0.9933 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.2575, allocations: 55.91 kB / 0.9934 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.2598, allocations: 2.362 MB / 0.9957 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.2601, allocations: 16.02 kB / 0.9957 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.2601, allocations: 16 kB / 0.9957 GB, free: 10.3 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.0001726/0.2603, allocations: 161.8 kB / 0.9959 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.2603, allocations: 27.67 kB / 0.9959 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.2608, allocations: 351.5 kB / 0.9962 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2608, allocations: 12.05 kB / 0.9962 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.2608, allocations: 0 / 0.9962 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2608, allocations: 0 / 0.9962 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008394/0.2617, allocations: 0.8082 MB / 0.997 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2617, allocations: 0 / 0.997 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/0.2621, allocations: 75.88 kB / 0.9971 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2621, allocations: 0 / 0.9971 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.2621, allocations: 8 kB / 0.9971 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2621, allocations: 4.062 kB / 0.9971 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.2621, allocations: 4 kB / 0.9971 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.2627, allocations: 0.6323 MB / 0.9977 GB, free: 8.113 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2628, allocations: 124.8 kB / 0.9978 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.006e-05/0.2629, allocations: 12 kB / 0.9979 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.2631, allocations: 15.98 kB / 0.9979 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.2631, allocations: 15.88 kB / 0.9979 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.2631, allocations: 15.98 kB / 0.9979 GB, free: 7.914 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001269/0.2633, allocations: 172.5 kB / 0.9981 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2633, allocations: 0 / 0.9981 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003873/0.2637, allocations: 88 kB / 0.9981 GB, free: 7.66 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.0008421/0.2645, allocations: 1.323 MB / 0.9994 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007359/0.2653, allocations: 0.5295 MB / 1 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2653, allocations: 3.938 kB / 1 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2655, allocations: 147.9 kB / 1 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.2658, allocations: 60.69 kB / 1 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.2687, allocations: 3.766 MB / 1.004 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2689, allocations: 0.8028 MB / 1.005 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.2691, allocations: 74.86 kB / 1.005 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.2693, allocations: 87.41 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.2693, allocations: 0 / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.2879, allocations: 6.277 MB / 1.011 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/0.2882, allocations: 221.3 kB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.172, allocations: 4.062 kB / 1.011 GB, free: 10.38 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)