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.0008442/0.0008442, allocations: 92 kB / 15.36 MB, free: 0.7383 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.00508/0.00508, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.152/1.152, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.478/1.478, allocations: 292.7 MB / 0.5502 GB, free: 14.42 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.0004394/0.0004396, allocations: 13.53 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1902, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003351/0.1936, allocations: 2.933 MB / 0.7909 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1962, allocations: 1.844 MB / 0.7927 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1963, allocations: 0 / 0.7927 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.1965, allocations: 47.64 kB / 0.7927 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.1969, allocations: 195.2 kB / 0.7929 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.1975, allocations: 271.4 kB / 0.7932 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.198, allocations: 0.561 MB / 0.7937 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006571/0.1987, allocations: 469.2 kB / 0.7942 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.1989, allocations: 139.4 kB / 0.7943 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.1992, allocations: 187.3 kB / 0.7945 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.1992, allocations: 12 kB / 0.7945 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.1995, allocations: 279.4 kB / 0.7947 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.944e-05/0.1997, allocations: 115.7 kB / 0.7949 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1998, allocations: 145 kB / 0.795 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.2002, allocations: 470.4 kB / 0.7954 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2002, allocations: 0 / 0.7954 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2002, allocations: 0 / 0.7954 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2002, allocations: 0 / 0.7954 GB, free: 3.746 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.0008103/0.2011, allocations: 0.542 MB / 0.796 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.2011, allocations: 15.97 kB / 0.796 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.2012, allocations: 62.73 kB / 0.796 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006528/0.2018, allocations: 92.45 kB / 0.7961 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.2021, allocations: 276.5 kB / 0.7964 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2021, allocations: 20.94 kB / 0.7964 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2022, allocations: 44.22 kB / 0.7965 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.2028, allocations: 445.1 kB / 0.7969 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2028, allocations: 0 / 0.7969 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.393e-05/0.2029, allocations: 15.98 kB / 0.7969 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.203, allocations: 36.53 kB / 0.7969 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.2035, allocations: 349.9 kB / 0.7973 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.2056, allocations: 2.207 MB / 0.7994 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.206, allocations: 266.3 kB / 0.7997 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.2062, allocations: 164.7 kB / 0.7998 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.2062, allocations: 7.984 kB / 0.7998 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2062, allocations: 34.94 kB / 0.7999 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.2062, allocations: 4 kB / 0.7999 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.001528/0.2078, allocations: 1.048 MB / 0.8009 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.2078, allocations: 51.41 kB / 0.801 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.208, allocations: 256.8 kB / 0.8012 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.2081, allocations: 33.7 kB / 0.8012 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.2082, allocations: 184 kB / 0.8014 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.2083, allocations: 86.73 kB / 0.8015 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.2083, allocations: 37.7 kB / 0.8015 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2084, allocations: 334.8 kB / 0.8018 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.2086, allocations: 147.9 kB / 0.802 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.2089, allocations: 237.6 kB / 0.8022 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.2094, allocations: 414.8 kB / 0.8026 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2094, allocations: 0 / 0.8026 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001075/0.2105, allocations: 0.5856 MB / 0.8032 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2105, allocations: 6.969 kB / 0.8032 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2105, allocations: 4 kB / 0.8032 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006113/0.2111, allocations: 192.9 kB / 0.8034 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.2114, allocations: 59.89 kB / 0.8034 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.2138, allocations: 2.296 MB / 0.8057 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.2141, allocations: 20.02 kB / 0.8057 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.2141, allocations: 15.98 kB / 0.8057 GB, free: 8.547 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.0001422/0.2143, allocations: 161.8 kB / 0.8059 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.2144, allocations: 43.62 kB / 0.8059 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.2149, allocations: 350 kB / 0.8062 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2149, allocations: 4 kB / 0.8062 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2149, allocations: 0 / 0.8062 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2149, allocations: 0 / 0.8062 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000937/0.2159, allocations: 0.816 MB / 0.807 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2159, allocations: 4 kB / 0.807 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.2162, allocations: 72 kB / 0.8071 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2163, allocations: 0 / 0.8071 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2163, allocations: 8 kB / 0.8071 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2163, allocations: 4 kB / 0.8071 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2163, allocations: 3.938 kB / 0.8071 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.2169, allocations: 0.6064 MB / 0.8077 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2171, allocations: 136.8 kB / 0.8078 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.2171, allocations: 11.98 kB / 0.8079 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.2173, allocations: 11.98 kB / 0.8079 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.2174, allocations: 15.98 kB / 0.8079 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2174, allocations: 4 kB / 0.8079 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001436/0.2175, allocations: 184.4 kB / 0.8081 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2175, allocations: 0 / 0.8081 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003574/0.2179, allocations: 88 kB / 0.8081 GB, free: 5.938 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.0009262/0.2188, allocations: 1.161 MB / 0.8093 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007423/0.2196, allocations: 0.5376 MB / 0.8098 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2196, allocations: 4 kB / 0.8098 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.2198, allocations: 154.4 kB / 0.81 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.2202, allocations: 48.39 kB / 0.81 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.2246, allocations: 3.837 MB / 0.8138 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2249, allocations: 0.8028 MB / 0.8145 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000186/0.2251, allocations: 74.92 kB / 0.8146 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.2253, allocations: 83.41 kB / 0.8147 GB, free: 15 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.2253, allocations: 0 / 0.8147 GB, free: 15 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5993/0.8246, allocations: 6.276 MB / 0.8208 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.8249, allocations: 229.7 kB / 0.821 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.11/2.935, allocations: 0 / 0.821 GB, free: 8.66 MB / 0.6387 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)