Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 82.64 kB / 21.44 MB, free: 3.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009703/0.0009703, allocations: 177 kB / 24.84 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9219/0.9219, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6207/0.6207, allocations: 115 MB / 376.8 MB, free: 7.496 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.471e-05/3.664e-05, allocations: 4.422 kB / 482.7 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004882/0.004918, allocations: 3.036 MB / 485.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.007249, allocations: 1.185 MB / 487 MB, free: 9.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.007523, allocations: 11.72 kB / 487 MB, free: 9.008 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006215/0.008145, allocations: 122.8 kB / 487.1 MB, free: 8.945 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.00864, allocations: 208.7 kB / 487.3 MB, free: 8.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.009233, allocations: 215.9 kB / 487.5 MB, free: 8.715 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007559/0.009989, allocations: 0.573 MB / 488.1 MB, free: 8.457 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006517/0.01064, allocations: 346.1 kB / 488.4 MB, free: 8.289 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.01113, allocations: 320.5 kB / 488.7 MB, free: 8.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.01172, allocations: 237 kB / 489 MB, free: 8.094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.01182, allocations: 35.94 kB / 489 MB, free: 8.094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.01212, allocations: 108.7 kB / 489.1 MB, free: 8.066 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.01229, allocations: 163.4 kB / 489.3 MB, free: 7.988 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.0125, allocations: 141 kB / 489.4 MB, free: 7.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006634/0.01317, allocations: 377.4 kB / 489.8 MB, free: 7.781 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.01317, allocations: 5.25 kB / 489.8 MB, free: 7.777 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01317, allocations: 0 / 489.8 MB, free: 7.777 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.01319, allocations: 1.156 kB / 489.8 MB, free: 7.777 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001193/0.01438, allocations: 0.6996 MB / 490.5 MB, free: 7.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.01443, allocations: 8.75 kB / 490.5 MB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007951/0.01522, allocations: 151.4 kB / 490.6 MB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.0156, allocations: 234.9 kB / 490.9 MB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/0.01568, allocations: 57.8 kB / 490.9 MB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.01574, allocations: 36.83 kB / 490.9 MB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.01632, allocations: 442.8 kB / 491.4 MB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.01634, allocations: 2.344 kB / 491.4 MB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.01638, allocations: 15.59 kB / 491.4 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/0.01644, allocations: 31.91 kB / 491.4 MB, free: 6.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.01673, allocations: 124.6 kB / 491.6 MB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.01866, allocations: 1.485 MB / 493 MB, free: 21.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.01918, allocations: 168.1 kB / 493.2 MB, free: 21.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.01937, allocations: 80.42 kB / 493.3 MB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.0194, allocations: 4 kB / 493.3 MB, free: 21.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.01942, allocations: 34.73 kB / 493.3 MB, free: 21.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.134e-06/0.01942, allocations: 0 / 493.3 MB, free: 21.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001022/0.02044, allocations: 277.6 kB / 493.6 MB, free: 21.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.02046, allocations: 54.25 kB / 493.6 MB, free: 21.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.02069, allocations: 257.1 kB / 493.9 MB, free: 20.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.02071, allocations: 31.05 kB / 493.9 MB, free: 20.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.02084, allocations: 259 kB / 494.2 MB, free: 20.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.02088, allocations: 70.59 kB / 494.2 MB, free: 20.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.02098, allocations: 65.94 kB / 494.3 MB, free: 20.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.02114, allocations: 0.5004 MB / 494.8 MB, free: 20.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.609e-05/0.02122, allocations: 36.41 kB / 494.8 MB, free: 20.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.02136, allocations: 208.2 kB / 495 MB, free: 19.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.02158, allocations: 187.1 kB / 495.2 MB, free: 19.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.02158, allocations: 1.219 kB / 495.2 MB, free: 19.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006309/0.02221, allocations: 257.1 kB / 495.5 MB, free: 19.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.02224, allocations: 6.406 kB / 495.5 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.02225, allocations: 3.062 kB / 495.5 MB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007339/0.02299, allocations: 149.8 kB / 495.6 MB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.02318, allocations: 45 kB / 495.7 MB, free: 19.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003259/0.02643, allocations: 3.557 MB / 499.2 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.02664, allocations: 29.61 kB / 499.3 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.02666, allocations: 10.66 kB / 499.3 MB, free: 15.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001608/0.02682, allocations: 158.8 kB / 499.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001366/0.02696, allocations: 205.1 kB / 499.6 MB, free: 15.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001932/0.02715, allocations: 195.8 kB / 499.8 MB, free: 15.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.464e-06/0.02715, allocations: 1.312 kB / 499.8 MB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0005141/0.02767, allocations: 252.6 kB / 0.4884 GB, free: 15.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.02768, allocations: 6.156 kB / 0.4884 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.02769, allocations: 2.75 kB / 0.4884 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004308/0.02812, allocations: 113.8 kB / 0.4885 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.0283, allocations: 51.38 kB / 0.4885 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.0308, allocations: 3.524 MB / 0.492 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.03101, allocations: 33.09 kB / 0.492 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.03103, allocations: 7.5 kB / 0.492 GB, free: 11.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.0312, allocations: 282.7 kB / 0.4923 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.03126, allocations: 24.78 kB / 0.4923 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.0313, allocations: 32.62 kB / 0.4923 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.0313, allocations: 2.625 kB / 0.4923 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.0313, allocations: 0 / 0.4923 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.03131, allocations: 1.5 kB / 0.4923 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.03229, allocations: 0.5943 MB / 0.4929 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.0323, allocations: 1.281 kB / 0.4929 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.03242, allocations: 35.23 kB / 0.4929 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004713/0.03289, allocations: 117.6 kB / 0.4931 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.03291, allocations: 12.2 kB / 0.4931 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.03588, allocations: 3.523 MB / 0.4965 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.03589, allocations: 1.25 kB / 0.4965 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.0364, allocations: 357.1 kB / 0.4968 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.03647, allocations: 41.52 kB / 0.4969 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.03649, allocations: 2.281 kB / 0.4969 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.378e-05/0.03657, allocations: 9.094 kB / 0.4969 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.03664, allocations: 24.64 kB / 0.4969 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.03665, allocations: 8.094 kB / 0.4969 GB, free: 7.176 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.859e-05/0.03674, allocations: 177.9 kB / 0.4971 GB, free: 7.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03674, allocations: 1.531 kB / 0.4971 GB, free: 7.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005473/0.03729, allocations: 176 kB / 0.4973 GB, free: 6.996 MB / 426.7 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.0374, allocations: 107.2 kB / 0.4974 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.0385, allocations: 0.9336 MB / 0.4983 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.0385, allocations: 1.656 kB / 0.4983 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.03893, allocations: 433.5 kB / 0.4987 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.03929, allocations: 64.41 kB / 0.4988 GB, free: 5.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.04041, allocations: 0.5574 MB / 0.4993 GB, free: 5.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.04051, allocations: 121.2 kB / 0.4994 GB, free: 5.324 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.04062, allocations: 30.94 kB / 0.4994 GB, free: 5.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.04077, allocations: 120.9 kB / 0.4996 GB, free: 5.246 MB / 426.7 MB Notification: Performance of SimCode: time 9.41e-07/0.04077, allocations: 0 / 0.4996 GB, free: 5.246 MB / 426.7 MB Notification: Performance of Templates: time 0.00861/0.04938, allocations: 5.118 MB / 0.5046 GB, free: 4.133 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5998682701028883]