Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",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.728/2.728, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001578/0.001577, allocations: 181.1 kB / 370.8 MB, free: 10.88 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.194/2.194, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001118/0.001118, allocations: 86.91 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008588/0.0008591, allocations: 15.34 kB / 0.8657 GB, free: 139.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2227, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.246, allocations: 159.9 MB / 1.134 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/1.247, allocations: 96.84 kB / 1.134 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06297/1.31, allocations: 17.1 MB / 1.151 GB, free: 24.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/1.31, allocations: 3.938 kB / 1.151 GB, free: 24.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.737e-05/1.31, allocations: 3.844 kB / 1.151 GB, free: 24.31 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001674/1.312, allocations: 0.6409 MB / 1.152 GB, free: 23.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.312, allocations: 11.59 kB / 1.152 GB, free: 23.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.679e-05/1.312, allocations: 56.23 kB / 1.152 GB, free: 23.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/1.313, allocations: 109.6 kB / 1.152 GB, free: 23.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/1.313, allocations: 276.1 kB / 1.152 GB, free: 23.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/1.314, allocations: 14.19 kB / 1.152 GB, free: 23.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/1.314, allocations: 30.98 kB / 1.152 GB, free: 23.39 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.315, allocations: 418.2 kB / 1.153 GB, free: 23.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.315, allocations: 7.922 kB / 1.153 GB, free: 23.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.177e-05/1.315, allocations: 15.53 kB / 1.153 GB, free: 23.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/1.315, allocations: 27.11 kB / 1.153 GB, free: 23.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/1.316, allocations: 409.2 kB / 1.153 GB, free: 22.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/1.319, allocations: 1.652 MB / 1.155 GB, free: 21.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/1.321, allocations: 485.5 kB / 1.155 GB, free: 21.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/1.321, allocations: 88.61 kB / 1.155 GB, free: 20.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008384/1.322, allocations: 281 kB / 1.156 GB, free: 20.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 3.086e-06/1.322, allocations: 4 kB / 1.156 GB, free: 20.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=28): time 0.003019/1.325, allocations: 0.7796 MB / 1.156 GB, free: 19.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/1.325, allocations: 85.05 kB / 1.156 GB, free: 19.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/1.326, allocations: 199.2 kB / 1.157 GB, free: 19.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/1.326, allocations: 32.52 kB / 1.157 GB, free: 19.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/1.326, allocations: 165.9 kB / 1.157 GB, free: 19.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/1.326, allocations: 96.95 kB / 1.157 GB, free: 19.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/1.326, allocations: 7.125 kB / 1.157 GB, free: 19.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.326, allocations: 334.1 kB / 1.157 GB, free: 19.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/1.327, allocations: 182.1 kB / 1.157 GB, free: 18.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/1.328, allocations: 256.9 kB / 1.158 GB, free: 18.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007714/1.328, allocations: 232.5 kB / 1.158 GB, free: 18.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.328, allocations: 3.953 kB / 1.158 GB, free: 18.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001892/1.33, allocations: 0.5615 MB / 1.158 GB, free: 18.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/1.331, allocations: 0.903 MB / 1.159 GB, free: 17.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.331, allocations: 4 kB / 1.159 GB, free: 17.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/1.331, allocations: 36.27 kB / 1.159 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/1.332, allocations: 95.36 kB / 1.159 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/1.334, allocations: 1.506 MB / 1.161 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/1.335, allocations: 57.12 kB / 1.161 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/1.335, allocations: 15.25 kB / 1.161 GB, free: 15.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.335, allocations: 4 kB / 1.161 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00185/1.337, allocations: 0.4968 MB / 1.161 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.337, allocations: 4 kB / 1.161 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/1.337, allocations: 39.45 kB / 1.161 GB, free: 15.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/1.338, allocations: 91.39 kB / 1.162 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/1.339, allocations: 1.502 MB / 1.163 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/1.34, allocations: 47.11 kB / 1.163 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/1.34, allocations: 15.88 kB / 1.163 GB, free: 13.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003962/1.34, allocations: 245.9 kB / 1.163 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/1.341, allocations: 23.84 kB / 1.163 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/1.342, allocations: 0.4921 MB / 1.164 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/1.342, allocations: 0 / 1.164 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.342, allocations: 4 kB / 1.164 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.342, allocations: 4 kB / 1.164 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008989/1.343, allocations: 0.5666 MB / 1.164 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.343, allocations: 4 kB / 1.164 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/1.344, allocations: 78.98 kB / 1.164 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/1.344, allocations: 40.42 kB / 1.165 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/1.344, allocations: 6.438 kB / 1.165 GB, free: 12.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/1.346, allocations: 1.423 MB / 1.166 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.346, allocations: 3.953 kB / 1.166 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.348, allocations: 0.6003 MB / 1.167 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/1.348, allocations: 138.2 kB / 1.167 GB, free: 9.871 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/1.348, allocations: 10 kB / 1.167 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/1.348, allocations: 43.02 kB / 1.167 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/1.349, allocations: 29.89 kB / 1.167 GB, free: 9.805 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/1.349, allocations: 8 kB / 1.167 GB, free: 9.797 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002407/1.349, allocations: 181 kB / 1.167 GB, free: 9.648 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.349, allocations: 0 / 1.167 GB, free: 9.648 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008441/1.35, allocations: 137.6 kB / 1.167 GB, free: 9.527 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002261/1.352, allocations: 1.37 MB / 1.168 GB, free: 8.211 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002914/1.355, allocations: 1.007 MB / 1.169 GB, free: 7.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.355, allocations: 0 / 1.169 GB, free: 7.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.356, allocations: 347.7 kB / 1.17 GB, free: 7.023 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/1.357, allocations: 41.03 kB / 1.17 GB, free: 6.992 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/1.363, allocations: 3.348 MB / 1.173 GB, free: 3.871 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/1.364, allocations: 0.791 MB / 1.174 GB, free: 3.062 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005866/1.364, allocations: 94.2 kB / 1.174 GB, free: 2.973 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/1.365, allocations: 85.34 kB / 1.174 GB, free: 2.941 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.365, allocations: 0 / 1.174 GB, free: 2.941 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03308/1.398, allocations: 6.568 MB / 1.18 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003539/1.398, allocations: 220 kB / 1.181 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/4.032, allocations: 0 / 1.181 GB, free: 12.37 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)