Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.0009206/0.0009207, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001026/0.001026, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.817/1.817, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0006342/0.0006343, allocations: 15.16 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2782, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003248/0.2815, allocations: 2.076 MB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002598/0.2841, allocations: 1.361 MB / 0.7908 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.2843, allocations: 4 kB / 0.7908 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2845, allocations: 19.84 kB / 0.7908 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.2849, allocations: 103.5 kB / 0.7909 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.2854, allocations: 134.8 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003797/0.2858, allocations: 259.2 kB / 0.7913 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.2864, allocations: 222.3 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.2866, allocations: 79.69 kB / 0.7916 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.287, allocations: 99.69 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.287, allocations: 8 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.2873, allocations: 107.8 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.517e-05/0.2874, allocations: 51.81 kB / 0.7918 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.2875, allocations: 49.64 kB / 0.7919 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.2878, allocations: 215.4 kB / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2878, allocations: 0 / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2879, allocations: 0 / 0.7921 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2879, allocations: 0 / 0.7921 GB, free: 7.035 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008554/0.2887, allocations: 447 kB / 0.7925 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2888, allocations: 8.031 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.334e-05/0.2889, allocations: 50.55 kB / 0.7925 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000615/0.2895, allocations: 67.61 kB / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.2898, allocations: 226.8 kB / 0.7928 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2899, allocations: 8.281 kB / 0.7928 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.56e-05/0.2899, allocations: 12 kB / 0.7928 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.2904, allocations: 283.7 kB / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2905, allocations: 0 / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.2905, allocations: 4 kB / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.2905, allocations: 20.22 kB / 0.7931 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.2909, allocations: 204.5 kB / 0.7933 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2927, allocations: 1.58 MB / 0.7949 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.2931, allocations: 323.2 kB / 0.7952 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.2932, allocations: 61.69 kB / 0.7952 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.2932, allocations: 11.89 kB / 0.7953 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2933, allocations: 30.56 kB / 0.7953 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2933, allocations: 3.938 kB / 0.7953 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006043/0.2939, allocations: 244.8 kB / 0.7955 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.294, allocations: 81.05 kB / 0.7956 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.2942, allocations: 199.9 kB / 0.7958 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/0.2943, allocations: 29.7 kB / 0.7958 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.2944, allocations: 151.7 kB / 0.796 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.2944, allocations: 35.48 kB / 0.796 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.2944, allocations: 4 kB / 0.796 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2946, allocations: 331 kB / 0.7963 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2947, allocations: 67.95 kB / 0.7964 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2948, allocations: 150.6 kB / 0.7965 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.295, allocations: 95.91 kB / 0.7966 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.295, allocations: 0 / 0.7966 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003728/0.2954, allocations: 265 kB / 0.7969 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.2955, allocations: 175.6 kB / 0.797 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2955, allocations: 4 kB / 0.797 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2956, allocations: 4 kB / 0.797 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2958, allocations: 47.91 kB / 0.7971 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.2958, allocations: 7.984 kB / 0.7971 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.296, allocations: 15.98 kB / 0.7971 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.296, allocations: 16.12 kB / 0.7971 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.296, allocations: 4 kB / 0.7971 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003293/0.2963, allocations: 199.6 kB / 0.7973 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.2964, allocations: 4 kB / 0.7973 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.2964, allocations: 4 kB / 0.7973 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2965, allocations: 47.92 kB / 0.7974 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2966, allocations: 11.94 kB / 0.7974 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.2967, allocations: 11.91 kB / 0.7974 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2967, allocations: 16.31 kB / 0.7974 GB, free: 1.074 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.2969, allocations: 225 kB / 0.7976 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.2969, allocations: 11.91 kB / 0.7976 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.2972, allocations: 142.9 kB / 0.7978 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2972, allocations: 4 kB / 0.7978 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2972, allocations: 3.953 kB / 0.7978 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2972, allocations: 0 / 0.7978 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.2982, allocations: 0.7197 MB / 0.7985 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2982, allocations: 7.984 kB / 0.7985 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2983, allocations: 24.33 kB / 0.7985 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.2983, allocations: 8 kB / 0.7985 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2983, allocations: 4 kB / 0.7985 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2983, allocations: 7.875 kB / 0.7985 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2983, allocations: 4 kB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.2987, allocations: 382.2 kB / 0.7989 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.2988, allocations: 104.9 kB / 0.799 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.2988, allocations: 4 kB / 0.799 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.299, allocations: 19.92 kB / 0.799 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.2991, allocations: 15.92 kB / 0.799 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2991, allocations: 7.953 kB / 0.7991 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001514/0.2992, allocations: 153.4 kB / 0.7992 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2992, allocations: 0 / 0.7992 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000525/0.2998, allocations: 68 kB / 0.7993 GB, free: 15.01 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007808/0.3006, allocations: 0.9105 MB / 0.8002 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.301, allocations: 264.2 kB / 0.8004 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.301, allocations: 0 / 0.8004 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.214e-05/0.3011, allocations: 63.83 kB / 0.8005 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005323/0.3017, allocations: 32.05 kB / 0.8005 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3035, allocations: 1.146 MB / 0.8016 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3038, allocations: 0.7285 MB / 0.8023 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000199/0.304, allocations: 82 kB / 0.8024 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.3041, allocations: 43.42 kB / 0.8024 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of SimCode: time 7.02e-07/0.3041, allocations: 0 / 0.8024 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.3204, allocations: 3.297 MB / 0.8057 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.3206, allocations: 212.5 kB / 0.8059 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.231, allocations: 3.875 kB / 0.8059 GB, free: 8.207 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: