Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 175.4 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7167/0.7167, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 11.98 kB / 495.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 77.53 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.00457/0.1864, allocations: 3.344 MB / 0.5626 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.189, allocations: 1.657 MB / 0.5642 GB, free: 4.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1893, allocations: 11.94 kB / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.1895, allocations: 55.56 kB / 0.5643 GB, free: 4.332 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.19, allocations: 187.1 kB / 0.5645 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.1906, allocations: 198.3 kB / 0.5646 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.1912, allocations: 0.5685 MB / 0.5652 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/0.1917, allocations: 336.3 kB / 0.5655 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.192, allocations: 163.4 kB / 0.5657 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004439/0.1924, allocations: 211.3 kB / 0.5659 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.1925, allocations: 19.94 kB / 0.5659 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.1927, allocations: 87.81 kB / 0.566 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1929, allocations: 115.7 kB / 0.5661 GB, free: 2.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.522e-05/0.193, allocations: 85.52 kB / 0.5662 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.1934, allocations: 367.3 kB / 0.5665 GB, free: 2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1934, allocations: 0 / 0.5665 GB, free: 2 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1934, allocations: 7.984 kB / 0.5665 GB, free: 1.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.1934, allocations: 0 / 0.5665 GB, free: 1.992 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001042/0.1945, allocations: 0.6041 MB / 0.5671 GB, free: 1.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1945, allocations: 8.031 kB / 0.5671 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005776/0.1951, allocations: 83.47 kB / 0.5672 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1955, allocations: 287.7 kB / 0.5675 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.1956, allocations: 24.64 kB / 0.5675 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.1956, allocations: 28 kB / 0.5675 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008064/0.1964, allocations: 493.8 kB / 0.568 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1965, allocations: 7.891 kB / 0.568 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.1965, allocations: 19.98 kB / 0.568 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/0.1966, allocations: 36.62 kB / 0.5681 GB, free: 308 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/0.1974, allocations: 386.3 kB / 0.5684 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.1997, allocations: 2.037 MB / 0.5704 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.2003, allocations: 226.7 kB / 0.5706 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.2007, allocations: 168.8 kB / 0.5708 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.2007, allocations: 0 / 0.5708 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.2008, allocations: 46.48 kB / 0.5708 GB, free: 13.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.2008, allocations: 0 / 0.5708 GB, free: 13.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001171/0.202, allocations: 451 kB / 0.5713 GB, free: 12.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.202, allocations: 55.41 kB / 0.5713 GB, free: 12.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.2023, allocations: 258.6 kB / 0.5716 GB, free: 12.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.2024, allocations: 33.7 kB / 0.5716 GB, free: 12.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.2025, allocations: 207.7 kB / 0.5718 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.2026, allocations: 63.09 kB / 0.5719 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.2026, allocations: 12 kB / 0.5719 GB, free: 12.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2028, allocations: 334.8 kB / 0.5722 GB, free: 11.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.203, allocations: 104.4 kB / 0.5723 GB, free: 11.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003173/0.2034, allocations: 213.5 kB / 0.5725 GB, free: 11.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.2036, allocations: 127.9 kB / 0.5726 GB, free: 11.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2037, allocations: 0 / 0.5726 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008273/0.2045, allocations: 383.9 kB / 0.573 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.2047, allocations: 190 kB / 0.5732 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2047, allocations: 4 kB / 0.5732 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.2049, allocations: 40.83 kB / 0.5732 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.2052, allocations: 67.91 kB / 0.5733 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.2066, allocations: 1.343 MB / 0.5746 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.2069, allocations: 51.75 kB / 0.5746 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.2069, allocations: 12 kB / 0.5746 GB, free: 9.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.2069, allocations: 4 kB / 0.5746 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006701/0.2076, allocations: 301.2 kB / 0.5749 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.2076, allocations: 8.422 kB / 0.5749 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2077, allocations: 8 kB / 0.5749 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.208, allocations: 79.83 kB / 0.575 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.208, allocations: 11.94 kB / 0.575 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.2082, allocations: 35.81 kB / 0.5751 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2082, allocations: 12 kB / 0.5751 GB, free: 8.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.2085, allocations: 253 kB / 0.5753 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.2085, allocations: 23.72 kB / 0.5753 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.2086, allocations: 34.12 kB / 0.5754 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.2086, allocations: 4 kB / 0.5754 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.2086, allocations: 0 / 0.5754 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2086, allocations: 0 / 0.5754 GB, free: 8.258 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.2099, allocations: 0.7733 MB / 0.5761 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2099, allocations: 0 / 0.5761 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2101, allocations: 43.97 kB / 0.5762 GB, free: 7.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.2102, allocations: 28.91 kB / 0.5762 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2102, allocations: 4 kB / 0.5762 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.2113, allocations: 1.323 MB / 0.5775 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2114, allocations: 0 / 0.5775 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.212, allocations: 392 kB / 0.5779 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.2121, allocations: 108.8 kB / 0.578 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.2121, allocations: 8 kB / 0.578 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2123, allocations: 23.97 kB / 0.578 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.2124, allocations: 19.92 kB / 0.578 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2124, allocations: 4 kB / 0.578 GB, free: 5.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.2126, allocations: 186 kB / 0.5782 GB, free: 5.105 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2126, allocations: 0 / 0.5782 GB, free: 5.105 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005795/0.2132, allocations: 143.4 kB / 0.5783 GB, free: 4.965 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.2133, allocations: 107.2 kB / 0.5784 GB, free: 4.848 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.2144, allocations: 0.5123 MB / 0.579 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2144, allocations: 0 / 0.579 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.2148, allocations: 235.2 kB / 0.5792 GB, free: 4.082 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004921/0.2153, allocations: 59.17 kB / 0.5792 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.2164, allocations: 0.6714 MB / 0.5799 GB, free: 3.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.2168, allocations: 0.8074 MB / 0.5807 GB, free: 2.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.2171, allocations: 62.23 kB / 0.5807 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.2172, allocations: 19.44 kB / 0.5808 GB, free: 2.402 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2172, allocations: 4 kB / 0.5808 GB, free: 2.398 MB / 446.1 MB Notification: Performance of Templates: time 0.2674/0.4845, allocations: 3.102 MB / 0.5838 GB, free: 29.95 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)