Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 108 kB / 15.6 MB, free: 132 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.001138/0.001138, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.288/1.288, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.606/1.606, allocations: 292.3 MB / 0.5489 GB, free: 13.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.001363/0.001363, allocations: 71.22 kB / 0.6716 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1851, allocations: 114.5 MB / 0.7835 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004528/0.1897, allocations: 3.265 MB / 0.7867 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002787/0.1925, allocations: 1.863 MB / 0.7885 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.1926, allocations: 4 kB / 0.7885 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008315/0.1935, allocations: 286.8 kB / 0.7888 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.1939, allocations: 215 kB / 0.789 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006497/0.1946, allocations: 298.3 kB / 0.7893 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.195, allocations: 410.7 kB / 0.7896 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.1954, allocations: 208.4 kB / 0.7898 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.1956, allocations: 159.5 kB / 0.79 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.196, allocations: 191.3 kB / 0.7902 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.56e-05/0.196, allocations: 24 kB / 0.7902 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.1964, allocations: 235.5 kB / 0.7904 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.1966, allocations: 119.7 kB / 0.7905 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1967, allocations: 147.2 kB / 0.7907 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.1972, allocations: 474.6 kB / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1972, allocations: 0 / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1973, allocations: 0 / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.1973, allocations: 0 / 0.7911 GB, free: 5.613 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009927/0.1983, allocations: 0.5926 MB / 0.7917 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1983, allocations: 8.031 kB / 0.7917 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.869e-05/0.1984, allocations: 66.72 kB / 0.7918 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007305/0.1991, allocations: 92.47 kB / 0.7919 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.1994, allocations: 276.4 kB / 0.7921 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1994, allocations: 16.94 kB / 0.7922 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.1996, allocations: 40.47 kB / 0.7922 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.2002, allocations: 445.1 kB / 0.7926 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.2002, allocations: 7.938 kB / 0.7926 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.2002, allocations: 11.98 kB / 0.7926 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001411/0.2004, allocations: 40.53 kB / 0.7927 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.2009, allocations: 349.9 kB / 0.793 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.2031, allocations: 2.21 MB / 0.7952 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.2035, allocations: 258.4 kB / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.2037, allocations: 164.8 kB / 0.7956 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2037, allocations: 0 / 0.7956 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.2038, allocations: 38.56 kB / 0.7956 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.2038, allocations: 3.938 kB / 0.7956 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001698/0.2055, allocations: 1.053 MB / 0.7966 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2055, allocations: 51.41 kB / 0.7967 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2058, allocations: 252.8 kB / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.2058, allocations: 33.7 kB / 0.797 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.2059, allocations: 184 kB / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.206, allocations: 90.73 kB / 0.7972 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2061, allocations: 77.59 kB / 0.7973 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2062, allocations: 334.8 kB / 0.7976 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.2064, allocations: 151.9 kB / 0.7978 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.2067, allocations: 241.5 kB / 0.798 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004905/0.2072, allocations: 406.8 kB / 0.7984 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2072, allocations: 3.938 kB / 0.7984 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001046/0.2083, allocations: 0.582 MB / 0.7989 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2083, allocations: 8.938 kB / 0.799 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2083, allocations: 0 / 0.799 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006742/0.209, allocations: 196.8 kB / 0.7991 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.2093, allocations: 55.91 kB / 0.7992 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.2119, allocations: 2.496 MB / 0.8016 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.2122, allocations: 23.97 kB / 0.8017 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.2123, allocations: 12 kB / 0.8017 GB, free: 10.13 MB / 0.6231 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 (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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2124, allocations: 172.5 kB / 0.8018 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.2125, allocations: 19.81 kB / 0.8019 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.213, allocations: 355.5 kB / 0.8022 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.213, allocations: 4.062 kB / 0.8022 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.213, allocations: 0 / 0.8022 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.213, allocations: 11.97 kB / 0.8022 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009532/0.214, allocations: 0.8083 MB / 0.803 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.214, allocations: 0 / 0.803 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.2144, allocations: 79.81 kB / 0.8031 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2144, allocations: 0 / 0.8031 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.2145, allocations: 16.05 kB / 0.8031 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2145, allocations: 0 / 0.8031 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2145, allocations: 0 / 0.8031 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/0.2152, allocations: 0.6127 MB / 0.8037 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2153, allocations: 128.8 kB / 0.8038 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.2153, allocations: 11.94 kB / 0.8038 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2156, allocations: 19.98 kB / 0.8038 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.2156, allocations: 19.92 kB / 0.8039 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.2156, allocations: 4 kB / 0.8039 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001558/0.2158, allocations: 184.5 kB / 0.804 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2158, allocations: 0 / 0.804 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003766/0.2162, allocations: 84 kB / 0.8041 GB, free: 7.516 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000939/0.2171, allocations: 1.159 MB / 0.8053 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008559/0.218, allocations: 0.565 MB / 0.8058 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.218, allocations: 3.938 kB / 0.8058 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.2182, allocations: 150.5 kB / 0.806 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.2187, allocations: 52.66 kB / 0.806 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004514/0.2232, allocations: 3.656 MB / 0.8096 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2235, allocations: 0.799 MB / 0.8104 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.2237, allocations: 78.89 kB / 0.8104 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.2238, allocations: 83.41 kB / 0.8105 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2238, allocations: 0 / 0.8105 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4427/0.6666, allocations: 6.68 MB / 0.817 GB, free: 10.21 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.849/10.52, allocations: 8.641 kB / 0.817 GB, free: 10.2 MB / 0.6388 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)