Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource",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.001022/0.001022, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.001223/0.001223, allocations: 172.7 kB / 15.95 MB, free: 208 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.593/1.593, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.841/1.841, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005782/0.0005783, allocations: 15.02 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2853, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004196/0.2895, allocations: 2.771 MB / 0.7901 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.2921, allocations: 1.283 MB / 0.7914 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.2924, allocations: 4 kB / 0.7914 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.2927, allocations: 43.64 kB / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005546/0.2933, allocations: 115.4 kB / 0.7915 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.2938, allocations: 119.7 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.2944, allocations: 362.8 kB / 0.792 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.2948, allocations: 219.3 kB / 0.7922 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.2951, allocations: 115.5 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.2955, allocations: 143.5 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.2955, allocations: 8 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.2958, allocations: 83.88 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2959, allocations: 71.78 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.296, allocations: 69.58 kB / 0.7926 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.2964, allocations: 259.6 kB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2964, allocations: 0 / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.857e-06/0.2964, allocations: 0 / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.2965, allocations: 3.938 kB / 0.7929 GB, free: 6.141 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009751/0.2974, allocations: 0.5144 MB / 0.7934 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.2975, allocations: 8.031 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.2976, allocations: 58.53 kB / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000673/0.2983, allocations: 87.59 kB / 0.7936 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.2987, allocations: 238 kB / 0.7938 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.2987, allocations: 16.42 kB / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.2987, allocations: 16 kB / 0.7938 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.2993, allocations: 316.3 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2993, allocations: 0 / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.2994, allocations: 12 kB / 0.7941 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.2994, allocations: 16.44 kB / 0.7941 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.2998, allocations: 217.5 kB / 0.7943 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.3016, allocations: 1.502 MB / 0.7958 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.3021, allocations: 203.7 kB / 0.796 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3022, allocations: 48.83 kB / 0.7961 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3022, allocations: 0 / 0.7961 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3023, allocations: 34.56 kB / 0.7961 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3023, allocations: 8 kB / 0.7961 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005943/0.3029, allocations: 267.7 kB / 0.7963 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3029, allocations: 55.41 kB / 0.7964 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.3032, allocations: 207.6 kB / 0.7966 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.3032, allocations: 33.7 kB / 0.7966 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.3033, allocations: 171.7 kB / 0.7968 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3034, allocations: 31.5 kB / 0.7968 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.3034, allocations: 4 kB / 0.7968 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3035, allocations: 330.8 kB / 0.7971 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.3036, allocations: 43.97 kB / 0.7972 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3038, allocations: 116.5 kB / 0.7973 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3039, allocations: 63.98 kB / 0.7974 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3039, allocations: 0 / 0.7974 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000397/0.3043, allocations: 222.2 kB / 0.7976 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3044, allocations: 4 kB / 0.7976 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3044, allocations: 4 kB / 0.7976 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.3046, allocations: 32.78 kB / 0.7976 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3047, allocations: 27.98 kB / 0.7976 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.3059, allocations: 1.323 MB / 0.7989 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3061, allocations: 31.7 kB / 0.799 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3061, allocations: 8 kB / 0.799 GB, free: 15.36 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.3062, allocations: 153.9 kB / 0.7991 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.3063, allocations: 15.81 kB / 0.7991 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.3063, allocations: 21.39 kB / 0.7991 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3063, allocations: 4 kB / 0.7992 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3064, allocations: 0 / 0.7992 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3064, allocations: 0 / 0.7992 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006638/0.307, allocations: 491.2 kB / 0.7996 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3071, allocations: 0 / 0.7996 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.3071, allocations: 15.98 kB / 0.7996 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.64e-05/0.3072, allocations: 20.84 kB / 0.7997 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3072, allocations: 4 kB / 0.7997 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.3083, allocations: 1.323 MB / 0.8009 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3083, allocations: 4.031 kB / 0.801 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3086, allocations: 244.2 kB / 0.8012 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.3088, allocations: 100.9 kB / 0.8013 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3088, allocations: 11.89 kB / 0.8013 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3089, allocations: 15.98 kB / 0.8013 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.309, allocations: 4 kB / 0.8013 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.309, allocations: 7.984 kB / 0.8013 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000136/0.3091, allocations: 144.2 kB / 0.8015 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3091, allocations: 3.938 kB / 0.8015 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003606/0.3095, allocations: 55.84 kB / 0.8015 GB, free: 12.51 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000642/0.3102, allocations: 0.7716 MB / 0.8023 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.3106, allocations: 235 kB / 0.8025 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3106, allocations: 64 / 0.8025 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/0.3109, allocations: 166.7 kB / 0.8027 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.3113, allocations: 30.42 kB / 0.8027 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3131, allocations: 1.149 MB / 0.8038 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.3135, allocations: 0.7592 MB / 0.8045 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.3137, allocations: 25.53 kB / 0.8046 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3138, allocations: 59.41 kB / 0.8046 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.3138, allocations: 0 / 0.8046 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.3327, allocations: 3.611 MB / 0.8082 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.3329, allocations: 218.1 kB / 0.8084 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.267, allocations: 4 kB / 0.8084 GB, free: 5.48 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_8_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) Environment - environmentSimulation: