Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 110.6 kB / 16.41 MB, free: 6.488 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.001185/0.001185, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6773/0.6773, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 69.12 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1296, allocations: 76.18 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.00532/0.135, allocations: 3.806 MB / 0.6358 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1374, allocations: 1.741 MB / 0.6375 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1375, allocations: 11.94 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.139, allocations: 490.1 kB / 0.638 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.1394, allocations: 230.8 kB / 0.6382 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.1398, allocations: 210.2 kB / 0.6384 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000436/0.1402, allocations: 466.5 kB / 0.6388 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005071/0.1407, allocations: 373.1 kB / 0.6392 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.1409, allocations: 199.2 kB / 0.6394 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.1413, allocations: 211.2 kB / 0.6396 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.1413, allocations: 28 kB / 0.6396 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.1417, allocations: 247.4 kB / 0.6398 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1418, allocations: 131.7 kB / 0.64 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.142, allocations: 167.2 kB / 0.6401 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.1426, allocations: 0.5023 MB / 0.6406 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1426, allocations: 0 / 0.6406 GB, free: 11.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1426, allocations: 0 / 0.6406 GB, free: 11.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1426, allocations: 0 / 0.6406 GB, free: 11.66 MB / 494.1 MB 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.0009684/0.1436, allocations: 0.6316 MB / 0.6412 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1437, allocations: 12.03 kB / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/0.1445, allocations: 128.4 kB / 0.6414 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1449, allocations: 299.6 kB / 0.6416 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.145, allocations: 32.89 kB / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.145, allocations: 28.38 kB / 0.6417 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.1456, allocations: 463.9 kB / 0.6421 GB, free: 9.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1457, allocations: 4 kB / 0.6421 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.1457, allocations: 12 kB / 0.6422 GB, free: 9.941 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.1458, allocations: 28.55 kB / 0.6422 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.1462, allocations: 317.9 kB / 0.6425 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.1481, allocations: 2.181 MB / 0.6446 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.1485, allocations: 255.8 kB / 0.6449 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.1487, allocations: 108.8 kB / 0.645 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.1487, allocations: 3.938 kB / 0.645 GB, free: 6.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1488, allocations: 34.56 kB / 0.645 GB, free: 6.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1488, allocations: 0 / 0.645 GB, free: 6.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005645/0.1493, allocations: 299.5 kB / 0.6453 GB, free: 6.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1494, allocations: 59.48 kB / 0.6453 GB, free: 6.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1496, allocations: 274.4 kB / 0.6456 GB, free: 6.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1497, allocations: 25.7 kB / 0.6456 GB, free: 6.078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1498, allocations: 203.8 kB / 0.6458 GB, free: 5.875 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1498, allocations: 51.27 kB / 0.6459 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.1499, allocations: 49.94 kB / 0.6459 GB, free: 5.766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.15, allocations: 330.8 kB / 0.6462 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.1501, allocations: 56.44 kB / 0.6463 GB, free: 5.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.1503, allocations: 141.7 kB / 0.6464 GB, free: 5.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.1505, allocations: 226.9 kB / 0.6466 GB, free: 4.941 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1505, allocations: 0 / 0.6466 GB, free: 4.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003714/0.1509, allocations: 265.2 kB / 0.6469 GB, free: 4.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1509, allocations: 8 kB / 0.6469 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.1509, allocations: 12.05 kB / 0.6469 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.1511, allocations: 24.84 kB / 0.6469 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.1513, allocations: 55.91 kB / 0.647 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009615/0.1522, allocations: 1.422 MB / 0.6484 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.1524, allocations: 23.75 kB / 0.6484 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1524, allocations: 12.16 kB / 0.6484 GB, free: 2.977 MB / 494.1 MB 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.0001434/0.1526, allocations: 173.6 kB / 0.6486 GB, free: 2.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.1526, allocations: 23.72 kB / 0.6486 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1527, allocations: 29.83 kB / 0.6486 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1527, allocations: 0 / 0.6486 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1527, allocations: 0 / 0.6486 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1527, allocations: 4 kB / 0.6486 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.1535, allocations: 0.7024 MB / 0.6493 GB, free: 1.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1535, allocations: 4 kB / 0.6493 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.836e-05/0.1536, allocations: 19.94 kB / 0.6493 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.366e-05/0.1536, allocations: 32.97 kB / 0.6494 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1537, allocations: 4 kB / 0.6494 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008826/0.1545, allocations: 1.414 MB / 0.6508 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1546, allocations: 4 kB / 0.6508 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.1549, allocations: 317.2 kB / 0.6511 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.155, allocations: 120.8 kB / 0.6512 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.155, allocations: 3.984 kB / 0.6512 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1552, allocations: 12.09 kB / 0.6512 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1552, allocations: 27.8 kB / 0.6512 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1552, allocations: 8 kB / 0.6512 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001677/0.1554, allocations: 190 kB / 0.6514 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1554, allocations: 0 / 0.6514 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003581/0.1558, allocations: 75.75 kB / 0.6515 GB, free: 15.53 MB / 0.4981 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 (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 Backend phase and start with SimCode phase: time 0.0001289/0.1559, allocations: 103.2 kB / 0.6516 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004294/0.1564, allocations: 278.3 kB / 0.6518 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1564, allocations: 4 kB / 0.6518 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.1566, allocations: 175.6 kB / 0.652 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.157, allocations: 62.03 kB / 0.6521 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008115/0.1579, allocations: 0.5279 MB / 0.6526 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1582, allocations: 0.7986 MB / 0.6534 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000115/0.1583, allocations: 42.27 kB / 0.6534 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.1584, allocations: 19.44 kB / 0.6534 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1584, allocations: 3.938 kB / 0.6534 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.005367/0.1638, allocations: 2.73 MB / 0.6561 GB, free: 10.73 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)