Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 182.9 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007432/0.0007432, allocations: 82.59 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 12 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2015, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.003677/0.2052, allocations: 3.529 MB / 0.9002 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002624/0.2079, allocations: 1.746 MB / 0.9019 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.2083, allocations: 7.938 kB / 0.9019 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.2095, allocations: 470.5 kB / 0.9024 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006273/0.2101, allocations: 219 kB / 0.9026 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.2107, allocations: 187.6 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.2113, allocations: 0.6544 MB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000434/0.2118, allocations: 241.2 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.212, allocations: 159.3 kB / 0.9038 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.2124, allocations: 207.2 kB / 0.904 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.2125, allocations: 16 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.213, allocations: 307.3 kB / 0.9043 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2131, allocations: 107.7 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.2132, allocations: 151.2 kB / 0.9045 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.2138, allocations: 0.5022 MB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2138, allocations: 4 kB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2138, allocations: 0 / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.2138, allocations: 0 / 0.905 GB, free: 59.67 MB / 0.6042 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.0008278/0.2147, allocations: 0.5653 MB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2147, allocations: 8.031 kB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.2156, allocations: 148.3 kB / 0.9057 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.216, allocations: 283.7 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.216, allocations: 21.03 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.216, allocations: 24.38 kB / 0.906 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.2166, allocations: 471.8 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2166, allocations: 0 / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.2166, allocations: 15.98 kB / 0.9065 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/0.2167, allocations: 28.55 kB / 0.9065 GB, free: 58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.2171, allocations: 325.9 kB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.219, allocations: 2.196 MB / 0.909 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.2194, allocations: 247.8 kB / 0.9092 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.2196, allocations: 115.8 kB / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.2196, allocations: 0 / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2197, allocations: 42.75 kB / 0.9094 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.2197, allocations: 0 / 0.9094 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0005874/0.2203, allocations: 299.4 kB / 0.9096 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.2203, allocations: 55.39 kB / 0.9097 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.2205, allocations: 266.5 kB / 0.91 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2206, allocations: 29.7 kB / 0.91 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.469e-05/0.2207, allocations: 207.8 kB / 0.9102 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.2207, allocations: 55.28 kB / 0.9102 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.2207, allocations: 21.81 kB / 0.9103 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.2208, allocations: 342.7 kB / 0.9106 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.2209, allocations: 60.38 kB / 0.9106 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.221, allocations: 140.8 kB / 0.9108 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.2213, allocations: 214.9 kB / 0.911 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2213, allocations: 4 kB / 0.911 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003647/0.2216, allocations: 267.2 kB / 0.9112 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2217, allocations: 8 kB / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2217, allocations: 0 / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.2219, allocations: 32.84 kB / 0.9113 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.222, allocations: 47.92 kB / 0.9113 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006991/0.2227, allocations: 1.319 MB / 0.9126 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.2229, allocations: 27.69 kB / 0.9126 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.2229, allocations: 8 kB / 0.9126 GB, free: 51.18 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.2231, allocations: 173.8 kB / 0.9128 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.2231, allocations: 23.72 kB / 0.9128 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.2232, allocations: 33.77 kB / 0.9129 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2232, allocations: 0 / 0.9129 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2232, allocations: 0 / 0.9129 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.2233, allocations: 116.7 kB / 0.913 GB, free: 50.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.2233, allocations: 4 kB / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.2234, allocations: 8 kB / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.2235, allocations: 11.98 kB / 0.913 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002942/0.2238, allocations: 253.6 kB / 0.9132 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002457/0.224, allocations: 379.6 kB / 0.9136 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.942e-05/0.2241, allocations: 56.05 kB / 0.9137 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001194/0.2242, allocations: 190 kB / 0.9138 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of Backend: time 5.51e-07/0.2242, allocations: 0 / 0.9138 GB, free: 49.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008165/0.225, allocations: 434.1 kB / 0.9142 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008414/0.2259, allocations: 1.092 MB / 0.9153 GB, free: 48.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.006209/0.2321, allocations: 3.689 MB / 0.9189 GB, free: 44.66 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)