Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.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: 175 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008609/0.0008607, allocations: 90.34 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004783, allocations: 9.625 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2909, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003496/0.2945, allocations: 2.722 MB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.2972, allocations: 1.765 MB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2975, allocations: 0 / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.2977, allocations: 39.7 kB / 0.9053 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006694/0.2984, allocations: 179.2 kB / 0.9055 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.2991, allocations: 223.5 kB / 0.9057 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.2997, allocations: 0.4986 MB / 0.9062 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008054/0.3005, allocations: 410.6 kB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.3008, allocations: 131.5 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.3012, allocations: 167.4 kB / 0.9069 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.852e-05/0.3013, allocations: 16 kB / 0.9069 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.3018, allocations: 311.4 kB / 0.9072 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3019, allocations: 87.7 kB / 0.9073 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.3021, allocations: 152.9 kB / 0.9074 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.3027, allocations: 462.8 kB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3027, allocations: 0 / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3027, allocations: 0 / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.3028, allocations: 0 / 0.9079 GB, free: 56.2 MB / 0.6042 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.001148/0.3039, allocations: 0.6059 MB / 0.9085 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.304, allocations: 15.97 kB / 0.9085 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.698e-05/0.3041, allocations: 58.72 kB / 0.9085 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007271/0.3048, allocations: 92.47 kB / 0.9086 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.3051, allocations: 287.4 kB / 0.9089 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.3052, allocations: 24.75 kB / 0.9089 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.3052, allocations: 20.36 kB / 0.9089 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.306, allocations: 426.7 kB / 0.9094 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.306, allocations: 4 kB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.306, allocations: 11.98 kB / 0.9094 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.3061, allocations: 24.36 kB / 0.9094 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.3069, allocations: 420.7 kB / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.3085, allocations: 1.607 MB / 0.9114 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3096, allocations: 488.1 kB / 0.9118 GB, free: 51.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003737/0.3099, allocations: 213.5 kB / 0.912 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.3101, allocations: 85.11 kB / 0.9121 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.3106, allocations: 286.5 kB / 0.9124 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.276e-06/0.3106, allocations: 0 / 0.9124 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001742/0.3124, allocations: 0.7858 MB / 0.9132 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.3124, allocations: 81.11 kB / 0.9132 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3126, allocations: 225 kB / 0.9134 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3126, allocations: 33.7 kB / 0.9135 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.3127, allocations: 160.3 kB / 0.9136 GB, free: 49.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.3128, allocations: 90.73 kB / 0.9137 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.3128, allocations: 4 kB / 0.9137 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.3129, allocations: 342.8 kB / 0.914 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.3132, allocations: 188.1 kB / 0.9142 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.3136, allocations: 257.3 kB / 0.9145 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008576/0.3145, allocations: 486.9 kB / 0.9149 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3145, allocations: 0 / 0.9149 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001062/0.3156, allocations: 0.5636 MB / 0.9155 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.3157, allocations: 185.5 kB / 0.9157 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3157, allocations: 0 / 0.9157 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.3159, allocations: 36.83 kB / 0.9157 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.3163, allocations: 99.86 kB / 0.9158 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.3174, allocations: 1.509 MB / 0.9173 GB, free: 45.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.3178, allocations: 51.8 kB / 0.9173 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.3178, allocations: 12 kB / 0.9173 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/0.3178, allocations: 4 kB / 0.9173 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009807/0.3188, allocations: 0.4982 MB / 0.9178 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3188, allocations: 4 kB / 0.9178 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.319, allocations: 48.91 kB / 0.9179 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.3193, allocations: 83.88 kB / 0.9179 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008388/0.3202, allocations: 1.489 MB / 0.9194 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.3205, allocations: 47.8 kB / 0.9194 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3205, allocations: 16 kB / 0.9195 GB, free: 43.52 MB / 0.6042 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 (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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.3207, allocations: 245.6 kB / 0.9197 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.3208, allocations: 27.7 kB / 0.9197 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009465/0.3217, allocations: 490.8 kB / 0.9202 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3217, allocations: 4 kB / 0.9202 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3217, allocations: 7.938 kB / 0.9202 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3218, allocations: 0 / 0.9202 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.3223, allocations: 0.5661 MB / 0.9208 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.3224, allocations: 4.141 kB / 0.9208 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.3227, allocations: 83.94 kB / 0.9208 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.3228, allocations: 44.81 kB / 0.9209 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.3229, allocations: 0 / 0.9209 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007773/0.3237, allocations: 1.413 MB / 0.9223 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3237, allocations: 0 / 0.9223 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.3246, allocations: 0.577 MB / 0.9228 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3247, allocations: 136.7 kB / 0.923 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.3247, allocations: 8 kB / 0.923 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.325, allocations: 39.95 kB / 0.923 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/0.3252, allocations: 31.95 kB / 0.923 GB, free: 39.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.3252, allocations: 12 kB / 0.923 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001262/0.3253, allocations: 172.4 kB / 0.9232 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3253, allocations: 0 / 0.9232 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005377/0.3259, allocations: 132 kB / 0.9233 GB, free: 39.29 MB / 0.6042 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 (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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/0.327, allocations: 1.106 MB / 0.9244 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.3287, allocations: 1.013 MB / 0.9254 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3287, allocations: 0 / 0.9254 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.3292, allocations: 346.8 kB / 0.9257 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.3297, allocations: 55.84 kB / 0.9258 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.334, allocations: 3.507 MB / 0.9292 GB, free: 33.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.3343, allocations: 0.7878 MB / 0.93 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003037/0.3346, allocations: 102.3 kB / 0.9301 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.3348, allocations: 99.33 kB / 0.9302 GB, free: 32 MB / 0.6042 GB Notification: Performance of SimCode: time 8.71e-07/0.3348, allocations: 0 / 0.9302 GB, free: 32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.3529, allocations: 6.56 MB / 0.9366 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.3531, allocations: 257.3 kB / 0.9368 GB, free: 25.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/2.715, allocations: 64 / 0.9368 GB, free: 25.4 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)