Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.049/3.049, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001853/0.001853, allocations: 185.2 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0008919/0.0008915, allocations: 89.88 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006967/0.0006968, allocations: 10.78 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2894, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.0072/0.2967, allocations: 3.339 MB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004716/0.3015, allocations: 1.615 MB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004246/0.3019, allocations: 11.94 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.3023, allocations: 59.56 kB / 0.9833 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008591/0.3032, allocations: 175.1 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009333/0.3042, allocations: 144.6 kB / 0.9836 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009676/0.3052, allocations: 0.5412 MB / 0.9841 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006163/0.3058, allocations: 285.2 kB / 0.9844 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.3062, allocations: 155.4 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.3068, allocations: 199.3 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.535e-05/0.3069, allocations: 12 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000583/0.3075, allocations: 123.8 kB / 0.9848 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.3077, allocations: 103.7 kB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3078, allocations: 89.52 kB / 0.985 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.3086, allocations: 375.3 kB / 0.9854 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3086, allocations: 0 / 0.9854 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.228e-06/0.3086, allocations: 4 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.3086, allocations: 0 / 0.9854 GB, free: 21.12 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001462/0.3101, allocations: 0.5755 MB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.3102, allocations: 20 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.3122, allocations: 131.5 kB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.3129, allocations: 282.4 kB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.313, allocations: 24.64 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/0.3131, allocations: 32 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3144, allocations: 459.6 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.3144, allocations: 3.938 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.3145, allocations: 16 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.946e-05/0.3147, allocations: 32.53 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3157, allocations: 321.9 kB / 0.9872 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.3199, allocations: 2.189 MB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.3206, allocations: 247.8 kB / 0.9896 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.3211, allocations: 116.8 kB / 0.9897 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3212, allocations: 4 kB / 0.9897 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3212, allocations: 30.62 kB / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 4.188e-06/0.3212, allocations: 0 / 0.9897 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001139/0.3224, allocations: 317.9 kB / 0.99 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3225, allocations: 51.41 kB / 0.9901 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.323, allocations: 262.6 kB / 0.9903 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.323, allocations: 29.7 kB / 0.9903 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.3232, allocations: 203.8 kB / 0.9905 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.3233, allocations: 51.3 kB / 0.9906 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/0.3233, allocations: 4 kB / 0.9906 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3235, allocations: 338.8 kB / 0.9909 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3237, allocations: 56.38 kB / 0.991 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.324, allocations: 140.9 kB / 0.9911 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.3243, allocations: 83.2 kB / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3243, allocations: 4 kB / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009231/0.3253, allocations: 265.9 kB / 0.9914 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3253, allocations: 4 kB / 0.9914 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3253, allocations: 7.953 kB / 0.9915 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.3256, allocations: 33.22 kB / 0.9915 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.3262, allocations: 47.91 kB / 0.9915 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.3277, allocations: 1.319 MB / 0.9928 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.3282, allocations: 27.69 kB / 0.9928 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.3283, allocations: 8 kB / 0.9929 GB, free: 12.84 MB / 0.6198 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 (27): * Single equations (assignments): 26 * 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.0003136/0.3286, allocations: 167.1 kB / 0.993 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3287, allocations: 23.72 kB / 0.993 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.84e-05/0.3288, allocations: 33.78 kB / 0.9931 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.311e-06/0.3289, allocations: 96 / 0.9931 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.537e-06/0.3289, allocations: 8.031 kB / 0.9931 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3289, allocations: 0 / 0.9931 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.3307, allocations: 0.7025 MB / 0.9938 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.3307, allocations: 4 kB / 0.9938 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.3309, allocations: 19.98 kB / 0.9938 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.3312, allocations: 32.77 kB / 0.9938 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.3312, allocations: 8 kB / 0.9938 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.333, allocations: 1.315 MB / 0.9951 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.333, allocations: 4.031 kB / 0.9951 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007176/0.3338, allocations: 313.2 kB / 0.9954 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.3341, allocations: 116.8 kB / 0.9955 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.3341, allocations: 0 / 0.9955 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.3346, allocations: 16 kB / 0.9955 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.3346, allocations: 19.94 kB / 0.9956 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.3347, allocations: 4 kB / 0.9956 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003391/0.335, allocations: 190 kB / 0.9957 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.31e-07/0.335, allocations: 0 / 0.9957 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008957/0.3359, allocations: 71.84 kB / 0.9958 GB, free: 9.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001737/0.3361, allocations: 115.1 kB / 0.9959 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008458/0.337, allocations: 270.4 kB / 0.9962 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.337, allocations: 0.75 kB / 0.9962 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.3374, allocations: 186.6 kB / 0.9964 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3385, allocations: 56.8 kB / 0.9964 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3401, allocations: 0.6412 MB / 0.997 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3405, allocations: 0.7952 MB / 0.9978 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003559/0.3409, allocations: 42.27 kB / 0.9979 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.356e-05/0.341, allocations: 19.44 kB / 0.9979 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of SimCode: time 1.873e-06/0.341, allocations: 0 / 0.9979 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of Templates: time 0.01231/0.3534, allocations: 2.487 MB / 1 GB, free: 4.844 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)