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.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: "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 103.1 kB / 16.4 MB, free: 6.477 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.001646/0.001646, allocations: 193.2 kB / 17.34 MB, free: 5.754 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.345/1.345, 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.7083/0.7083, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 65.42 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 76.19 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005886/0.1769, allocations: 4.076 MB / 0.6356 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.1794, allocations: 1.586 MB / 0.6371 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1796, allocations: 11.94 kB / 0.6371 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001607/0.1813, allocations: 0.5782 MB / 0.6377 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000548/0.1818, allocations: 234.8 kB / 0.6379 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.1823, allocations: 223.4 kB / 0.6381 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005908/0.1829, allocations: 0.5491 MB / 0.6387 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000676/0.1836, allocations: 469.2 kB / 0.6391 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.1839, allocations: 231.3 kB / 0.6393 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.1844, allocations: 259 kB / 0.6396 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.1844, allocations: 36 kB / 0.6396 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.1847, allocations: 167.7 kB / 0.6398 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1849, allocations: 143.7 kB / 0.6399 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.1851, allocations: 199 kB / 0.6401 GB, free: 12.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.1857, allocations: 0.5259 MB / 0.6406 GB, free: 11.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1858, allocations: 0 / 0.6406 GB, free: 11.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1858, allocations: 0 / 0.6406 GB, free: 11.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.1858, allocations: 0 / 0.6406 GB, free: 11.61 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001205/0.187, allocations: 0.6748 MB / 0.6413 GB, free: 10.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1871, allocations: 12.03 kB / 0.6413 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.757e-05/0.1871, allocations: 74.72 kB / 0.6413 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000708/0.1879, allocations: 112.4 kB / 0.6415 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.1883, allocations: 295.7 kB / 0.6417 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.658e-05/0.1884, allocations: 55.27 kB / 0.6418 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.1885, allocations: 32.31 kB / 0.6418 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008124/0.1893, allocations: 0.5085 MB / 0.6423 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1893, allocations: 0 / 0.6423 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.1893, allocations: 16 kB / 0.6423 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.1894, allocations: 32.92 kB / 0.6424 GB, free: 9.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.1901, allocations: 379.7 kB / 0.6427 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.1927, allocations: 2.219 MB / 0.6449 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.1935, allocations: 266.6 kB / 0.6451 GB, free: 6.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.1938, allocations: 144.8 kB / 0.6453 GB, free: 6.445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.1939, allocations: 4 kB / 0.6453 GB, free: 6.441 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1939, allocations: 34.56 kB / 0.6453 GB, free: 6.398 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 2.003e-06/0.1939, allocations: 3.938 kB / 0.6453 GB, free: 6.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001501/0.1954, allocations: 0.5691 MB / 0.6459 GB, free: 5.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.1955, allocations: 59.39 kB / 0.6459 GB, free: 5.707 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1957, allocations: 221 kB / 0.6461 GB, free: 5.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.1957, allocations: 29.7 kB / 0.6462 GB, free: 5.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1959, allocations: 215.6 kB / 0.6464 GB, free: 5.234 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.679e-05/0.196, allocations: 67.03 kB / 0.6464 GB, free: 5.168 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/0.1961, allocations: 53.61 kB / 0.6465 GB, free: 5.109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1962, allocations: 338.8 kB / 0.6468 GB, free: 4.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1964, allocations: 96.8 kB / 0.6469 GB, free: 4.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.1967, allocations: 183.6 kB / 0.6471 GB, free: 4.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.1972, allocations: 270.2 kB / 0.6473 GB, free: 4.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1972, allocations: 3.938 kB / 0.6473 GB, free: 4.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008578/0.1981, allocations: 377 kB / 0.6477 GB, free: 3.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.1981, allocations: 4 kB / 0.6477 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1981, allocations: 8.312 kB / 0.6477 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005422/0.1987, allocations: 105.6 kB / 0.6478 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1989, allocations: 59.84 kB / 0.6479 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.2022, allocations: 3.042 MB / 0.6508 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.2025, allocations: 35.67 kB / 0.6509 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2025, allocations: 12 kB / 0.6509 GB, free: 220 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003625/0.2029, allocations: 216 kB / 0.6511 GB, free: 0 / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002637/0.2032, allocations: 183.2 kB / 0.6513 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004531/0.2036, allocations: 265.2 kB / 0.6515 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.2037, allocations: 4 kB / 0.6515 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007821/0.2044, allocations: 356.2 kB / 0.6519 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2045, allocations: 4 kB / 0.6519 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2045, allocations: 7.938 kB / 0.6519 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.2048, allocations: 84.91 kB / 0.652 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.205, allocations: 51.91 kB / 0.652 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.2069, allocations: 1.606 MB / 0.6536 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.2072, allocations: 39.77 kB / 0.6536 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2073, allocations: 8 kB / 0.6536 GB, free: 13.19 MB / 0.4981 GB 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.000153/0.2074, allocations: 203.7 kB / 0.6538 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.2075, allocations: 19.81 kB / 0.6538 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.2075, allocations: 30.17 kB / 0.6539 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2076, allocations: 4 kB / 0.6539 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2076, allocations: 3.938 kB / 0.6539 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.2076, allocations: 3.984 kB / 0.6539 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.209, allocations: 0.8187 MB / 0.6547 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.209, allocations: 4 kB / 0.6547 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.2091, allocations: 31.91 kB / 0.6547 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003685/0.2095, allocations: 101.7 kB / 0.6548 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.2095, allocations: 12 kB / 0.6548 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002908/0.2125, allocations: 3.024 MB / 0.6578 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2125, allocations: 0 / 0.6578 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.2132, allocations: 419.1 kB / 0.6582 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.2133, allocations: 116.8 kB / 0.6583 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.2134, allocations: 8 kB / 0.6583 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.2135, allocations: 15.98 kB / 0.6583 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.2136, allocations: 20.06 kB / 0.6583 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.2136, allocations: 11.98 kB / 0.6583 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001369/0.2138, allocations: 156.5 kB / 0.6585 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2138, allocations: 0 / 0.6585 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006004/0.2144, allocations: 175.3 kB / 0.6587 GB, free: 7.625 MB / 0.4981 GB 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.001015/0.2154, allocations: 0.9555 MB / 0.6596 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.2173, allocations: 0.7468 MB / 0.6603 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2173, allocations: 8.062 kB / 0.6603 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007375/0.218, allocations: 371.1 kB / 0.6607 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.2185, allocations: 68.55 kB / 0.6607 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.2224, allocations: 2.839 MB / 0.6635 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.2228, allocations: 0.8145 MB / 0.6643 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000182/0.223, allocations: 50.25 kB / 0.6644 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.2232, allocations: 91.41 kB / 0.6644 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.2232, allocations: 4 kB / 0.6645 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.2537, allocations: 7.469 MB / 0.6717 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.91, allocations: 3.938 kB / 0.6717 GB, free: 10.07 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)