Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.754/1.754, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.001223/0.001223, allocations: 177 kB / 371.8 MB, free: 10.25 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.503/1.503, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.001113/0.001113, allocations: 86.92 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 12.28 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2229, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.002696/0.2257, allocations: 2.557 MB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.2276, allocations: 1.626 MB / 0.9836 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2278, allocations: 7.875 kB / 0.9836 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.2279, allocations: 35.77 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.2282, allocations: 127.6 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.2287, allocations: 191.5 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.2289, allocations: 227.5 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005813/0.2295, allocations: 374.9 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.2297, allocations: 123.5 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.2299, allocations: 131.5 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.23, allocations: 16 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.2302, allocations: 131.8 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.2303, allocations: 75.78 kB / 0.9849 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.2304, allocations: 69.58 kB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.2307, allocations: 343 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2308, allocations: 4 kB / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2308, allocations: 0 / 0.9853 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2308, allocations: 0 / 0.9853 GB, free: 21.53 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001001/0.2318, allocations: 0.6057 MB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2318, allocations: 8.031 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.2319, allocations: 58.55 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/0.2326, allocations: 123.4 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.2329, allocations: 258.6 kB / 0.9864 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.2329, allocations: 20.42 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.2329, allocations: 23.98 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.2336, allocations: 418.6 kB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.2336, allocations: 7.938 kB / 0.9868 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.342e-05/0.2337, allocations: 11.98 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/0.2337, allocations: 28.36 kB / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008095/0.2345, allocations: 416.5 kB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.236, allocations: 1.615 MB / 0.9888 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.2371, allocations: 496.7 kB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.2372, allocations: 93.09 kB / 0.9894 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004943/0.2377, allocations: 276.3 kB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.124e-06/0.2377, allocations: 0 / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.00166/0.2394, allocations: 0.7719 MB / 0.9904 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2394, allocations: 85.23 kB / 0.9905 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2396, allocations: 225 kB / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.2396, allocations: 33.7 kB / 0.9907 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.2397, allocations: 164.3 kB / 0.9909 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.2398, allocations: 102.6 kB / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.2398, allocations: 8 kB / 0.991 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.2399, allocations: 330.8 kB / 0.9913 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.2402, allocations: 184.2 kB / 0.9915 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.2406, allocations: 257.1 kB / 0.9917 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.241, allocations: 238.3 kB / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.241, allocations: 4 kB / 0.992 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009832/0.242, allocations: 0.5516 MB / 0.9925 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.2422, allocations: 0.9059 MB / 0.9934 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2422, allocations: 4 kB / 0.9934 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.2425, allocations: 40.81 kB / 0.9934 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.2428, allocations: 91.86 kB / 0.9935 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.2439, allocations: 1.505 MB / 0.995 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.2442, allocations: 55.86 kB / 0.995 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.2443, allocations: 12 kB / 0.9951 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.2443, allocations: 9.203 kB / 0.9951 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009268/0.2452, allocations: 0.4906 MB / 0.9955 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.2452, allocations: 7.969 kB / 0.9955 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.2454, allocations: 44.83 kB / 0.9956 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.2457, allocations: 79.94 kB / 0.9957 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008581/0.2465, allocations: 1.504 MB / 0.9971 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.2468, allocations: 47.81 kB / 0.9972 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2469, allocations: 20.05 kB / 0.9972 GB, free: 8.586 MB / 0.6198 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.0001873/0.2471, allocations: 245.4 kB / 0.9974 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.2471, allocations: 24 kB / 0.9975 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009184/0.248, allocations: 489.7 kB / 0.9979 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.248, allocations: 11.92 kB / 0.9979 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.2481, allocations: 0 / 0.9979 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.2481, allocations: 7.938 kB / 0.9979 GB, free: 7.812 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.2486, allocations: 0.5699 MB / 0.9985 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2486, allocations: 4.094 kB / 0.9985 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.249, allocations: 75.92 kB / 0.9986 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.2491, allocations: 40.77 kB / 0.9986 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.2491, allocations: 11.98 kB / 0.9986 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007421/0.2498, allocations: 1.424 MB / 1 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2499, allocations: 0 / 1 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008454/0.2507, allocations: 0.598 MB / 1.001 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2508, allocations: 136.7 kB / 1.001 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.2509, allocations: 4 kB / 1.001 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.2512, allocations: 39.95 kB / 1.001 GB, free: 4.648 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.2513, allocations: 39.89 kB / 1.001 GB, free: 4.609 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.2513, allocations: 8 kB / 1.001 GB, free: 4.602 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001156/0.2514, allocations: 172.5 kB / 1.001 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2514, allocations: 0 / 1.001 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005312/0.252, allocations: 132 kB / 1.001 GB, free: 4.301 MB / 0.6198 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.001093/0.2531, allocations: 1.356 MB / 1.002 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.2547, allocations: 1.004 MB / 1.003 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2547, allocations: 0 / 1.003 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.2552, allocations: 338.8 kB / 1.004 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2555, allocations: 42.28 kB / 1.004 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.259, allocations: 3.345 MB / 1.007 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.2595, allocations: 0.7957 MB / 1.008 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.2599, allocations: 94.19 kB / 1.008 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.26, allocations: 87.41 kB / 1.008 GB, free: 13 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.26, allocations: 0 / 1.008 GB, free: 13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.2861, allocations: 6.549 MB / 1.014 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/0.2865, allocations: 236.8 kB / 1.015 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.269, allocations: 4 kB / 1.015 GB, free: 6.434 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_VariablePowerSource.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)