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.001185/0.001185, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001397/0.001398, allocations: 177.3 kB / 15.95 MB, free: 216 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.904/1.904, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.778/1.778, allocations: 292.6 MB / 0.5498 GB, free: 14.62 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.0005098/0.0005099, allocations: 20.41 kB / 0.6737 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2816, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002771/0.2844, allocations: 2.057 MB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.2866, allocations: 1.334 MB / 0.7905 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2867, allocations: 4 kB / 0.7906 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.2869, allocations: 19.84 kB / 0.7906 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.2872, allocations: 87.73 kB / 0.7907 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.2876, allocations: 151.5 kB / 0.7908 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.2879, allocations: 123.7 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.2883, allocations: 218.3 kB / 0.7911 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.2885, allocations: 59.77 kB / 0.7912 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.2887, allocations: 67.75 kB / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.2887, allocations: 8 kB / 0.7913 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.289, allocations: 103.8 kB / 0.7914 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.289, allocations: 51.88 kB / 0.7914 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.2891, allocations: 53.64 kB / 0.7915 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.2894, allocations: 207.4 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2894, allocations: 0 / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2894, allocations: 0 / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2894, allocations: 0 / 0.7917 GB, free: 7.309 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.0006642/0.2901, allocations: 447 kB / 0.7921 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2901, allocations: 8.031 kB / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.2902, allocations: 46.55 kB / 0.7921 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005514/0.2908, allocations: 79.59 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.291, allocations: 218.8 kB / 0.7924 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.2911, allocations: 16.27 kB / 0.7924 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.2911, allocations: 12 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.2916, allocations: 275.6 kB / 0.7927 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2916, allocations: 8 kB / 0.7927 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.2916, allocations: 4 kB / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.2917, allocations: 20.22 kB / 0.7927 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.292, allocations: 208.5 kB / 0.7929 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2937, allocations: 1.58 MB / 0.7945 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.2941, allocations: 319.2 kB / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.2941, allocations: 4.156 kB / 0.7948 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.2942, allocations: 42.52 kB / 0.7948 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.2942, allocations: 3.938 kB / 0.7948 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006223/0.2948, allocations: 236.6 kB / 0.7951 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.2949, allocations: 85.05 kB / 0.7951 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.2951, allocations: 199.9 kB / 0.7953 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2951, allocations: 29.7 kB / 0.7954 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.2952, allocations: 147.7 kB / 0.7955 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.2952, allocations: 47.66 kB / 0.7955 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.2953, allocations: 4 kB / 0.7955 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2954, allocations: 322.8 kB / 0.7959 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2955, allocations: 67.95 kB / 0.7959 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.2957, allocations: 151.1 kB / 0.7961 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.2958, allocations: 95.84 kB / 0.7962 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2958, allocations: 3.984 kB / 0.7962 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003885/0.2962, allocations: 253.1 kB / 0.7964 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000439/0.2967, allocations: 1.142 MB / 0.7975 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.2967, allocations: 4 kB / 0.7975 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2967, allocations: 4 kB / 0.7975 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.2969, allocations: 51.91 kB / 0.7976 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2969, allocations: 7.984 kB / 0.7976 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.2971, allocations: 12 kB / 0.7976 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.2971, allocations: 15.98 kB / 0.7976 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-06/0.2971, allocations: 4 kB / 0.7976 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000299/0.2974, allocations: 195.5 kB / 0.7978 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2975, allocations: 4.125 kB / 0.7978 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/0.2975, allocations: 12.36 kB / 0.7978 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2976, allocations: 51.88 kB / 0.7979 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2976, allocations: 4 kB / 0.7979 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2978, allocations: 19.89 kB / 0.7979 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.2978, allocations: 8 kB / 0.7979 GB, free: 408 kB / 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.0001657/0.298, allocations: 221 kB / 0.7981 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.298, allocations: 11.91 kB / 0.7981 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.2983, allocations: 151.3 kB / 0.7983 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2983, allocations: 192 / 0.7983 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.468e-05/0.2983, allocations: 8.047 kB / 0.7983 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2983, allocations: 4 kB / 0.7983 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009616/0.2993, allocations: 0.7119 MB / 0.799 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2993, allocations: 4 kB / 0.799 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2994, allocations: 27.98 kB / 0.799 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.2994, allocations: 4 kB / 0.799 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2995, allocations: 7.938 kB / 0.799 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2995, allocations: 0 / 0.799 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.2995, allocations: 7.938 kB / 0.799 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/0.2999, allocations: 0.4957 MB / 0.7995 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3, allocations: 108.9 kB / 0.7996 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.3, allocations: 7.953 kB / 0.7996 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3002, allocations: 7.984 kB / 0.7996 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.3003, allocations: 19.92 kB / 0.7996 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.3003, allocations: 4 kB / 0.7996 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001435/0.3004, allocations: 153.4 kB / 0.7998 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3004, allocations: 4 kB / 0.7998 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005157/0.301, allocations: 68 kB / 0.7999 GB, free: 14.16 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.001159/0.3021, allocations: 1.716 MB / 0.8015 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.3026, allocations: 259.5 kB / 0.8018 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3026, allocations: 0 / 0.8018 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.116e-05/0.3027, allocations: 65.34 kB / 0.8018 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.303, allocations: 35.36 kB / 0.8019 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.3055, allocations: 2.951 MB / 0.8048 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.3059, allocations: 0.7402 MB / 0.8055 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.3061, allocations: 77.55 kB / 0.8056 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.3062, allocations: 47.36 kB / 0.8056 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3062, allocations: 0 / 0.8056 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.3206, allocations: 3.287 MB / 0.8088 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.3208, allocations: 196.9 kB / 0.809 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.502, allocations: 2.969 kB / 0.809 GB, free: 4.684 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: