Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.00119/0.00119, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001261/0.001261, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8203/0.8203, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.09 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1842, allocations: 76.18 MB / 0.6316 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004382/0.1886, allocations: 2.408 MB / 0.6339 GB, free: 2.535 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1913, allocations: 1.582 MB / 0.6355 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1915, allocations: 3.938 kB / 0.6355 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008379/0.1924, allocations: 175.3 kB / 0.6357 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.1929, allocations: 151.3 kB / 0.6358 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.1935, allocations: 191.5 kB / 0.636 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.1939, allocations: 215.3 kB / 0.6362 GB, free: 224 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.1942, allocations: 119.8 kB / 0.6363 GB, free: 108 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.1944, allocations: 91.67 kB / 0.6364 GB, free: 16 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.1947, allocations: 103.6 kB / 0.6365 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1947, allocations: 12 kB / 0.6365 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.1951, allocations: 211.6 kB / 0.6367 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.742e-05/0.1952, allocations: 63.8 kB / 0.6368 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.095e-05/0.1953, allocations: 83.59 kB / 0.6368 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.1957, allocations: 303.9 kB / 0.6371 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1957, allocations: 0 / 0.6371 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1957, allocations: 0 / 0.6371 GB, free: 15.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1957, allocations: 0 / 0.6371 GB, free: 15.25 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006994/0.1964, allocations: 483.1 kB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1965, allocations: 8.031 kB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.1965, allocations: 50.73 kB / 0.6376 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.1973, allocations: 84.64 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.1975, allocations: 239 kB / 0.638 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1976, allocations: 16.66 kB / 0.638 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.1976, allocations: 12.38 kB / 0.638 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.1981, allocations: 291.3 kB / 0.6383 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1981, allocations: 8 kB / 0.6383 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1981, allocations: 4 kB / 0.6383 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.1982, allocations: 20.16 kB / 0.6383 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.1986, allocations: 224.4 kB / 0.6385 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.2004, allocations: 1.591 MB / 0.6401 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.2008, allocations: 315.3 kB / 0.6404 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.2009, allocations: 65.69 kB / 0.6404 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2009, allocations: 0 / 0.6404 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2009, allocations: 38.5 kB / 0.6405 GB, free: 11.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.524e-06/0.201, allocations: 0 / 0.6405 GB, free: 11.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005471/0.2015, allocations: 252.6 kB / 0.6407 GB, free: 11.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.2016, allocations: 81.09 kB / 0.6408 GB, free: 11.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.2018, allocations: 207.4 kB / 0.641 GB, free: 10.94 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.2018, allocations: 29.89 kB / 0.641 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.837e-05/0.2019, allocations: 155.6 kB / 0.6412 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.202, allocations: 39.45 kB / 0.6412 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.202, allocations: 45.7 kB / 0.6412 GB, free: 10.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2022, allocations: 326.8 kB / 0.6415 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.2024, allocations: 84.8 kB / 0.6416 GB, free: 10.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.2026, allocations: 162.7 kB / 0.6418 GB, free: 10.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.203, allocations: 242.9 kB / 0.642 GB, free: 9.773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.203, allocations: 3.938 kB / 0.642 GB, free: 9.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004641/0.2035, allocations: 277.2 kB / 0.6423 GB, free: 9.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2035, allocations: 8 kB / 0.6423 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2035, allocations: 4 kB / 0.6423 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2035, allocations: 7.938 kB / 0.6423 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.2038, allocations: 51.91 kB / 0.6423 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2038, allocations: 7.984 kB / 0.6424 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.204, allocations: 16.2 kB / 0.6424 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.204, allocations: 19.98 kB / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001979/0.2043, allocations: 164.1 kB / 0.6425 GB, free: 9.215 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001895/0.2045, allocations: 159.8 kB / 0.6427 GB, free: 9.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002696/0.2047, allocations: 215.8 kB / 0.6429 GB, free: 8.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.2047, allocations: 4 kB / 0.6429 GB, free: 8.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004486/0.2052, allocations: 249.1 kB / 0.6431 GB, free: 8.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.2052, allocations: 8.406 kB / 0.6432 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2052, allocations: 11.94 kB / 0.6432 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.548e-06/0.2052, allocations: 4 kB / 0.6432 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.2054, allocations: 47.91 kB / 0.6432 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2055, allocations: 11.94 kB / 0.6432 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2057, allocations: 15.98 kB / 0.6432 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2057, allocations: 11.98 kB / 0.6433 GB, free: 8.398 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.2058, allocations: 196.1 kB / 0.6434 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.2059, allocations: 19.81 kB / 0.6435 GB, free: 8.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.2061, allocations: 147 kB / 0.6436 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.2061, allocations: 11.97 kB / 0.6436 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2062, allocations: 0 / 0.6436 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2062, allocations: 0 / 0.6436 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.2071, allocations: 0.7234 MB / 0.6443 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2071, allocations: 0 / 0.6443 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.2072, allocations: 23.98 kB / 0.6443 GB, free: 7.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.2072, allocations: 4 kB / 0.6443 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.2073, allocations: 4.344 kB / 0.6443 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.2073, allocations: 11.94 kB / 0.6444 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2073, allocations: 0 / 0.6444 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.2076, allocations: 382.2 kB / 0.6447 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2077, allocations: 108.8 kB / 0.6448 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.2078, allocations: 4 kB / 0.6448 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.208, allocations: 15.98 kB / 0.6448 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.208, allocations: 23.86 kB / 0.6449 GB, free: 6.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.208, allocations: 11.94 kB / 0.6449 GB, free: 6.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.2082, allocations: 152.8 kB / 0.645 GB, free: 6.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2082, allocations: 0 / 0.645 GB, free: 6.414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005155/0.2087, allocations: 75.98 kB / 0.6451 GB, free: 6.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006789/0.2094, allocations: 0.9108 MB / 0.646 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005516/0.21, allocations: 288.2 kB / 0.6463 GB, free: 5.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.21, allocations: 0 / 0.6463 GB, free: 5.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.2101, allocations: 61.22 kB / 0.6463 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.2106, allocations: 33.77 kB / 0.6464 GB, free: 5.004 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.2134, allocations: 2.361 MB / 0.6487 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.2137, allocations: 0.7324 MB / 0.6494 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000226/0.214, allocations: 81.45 kB / 0.6495 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.2141, allocations: 43.42 kB / 0.6495 GB, free: 1.551 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2141, allocations: 0 / 0.6495 GB, free: 1.551 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.2487, allocations: 3.74 MB / 0.6531 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.172, allocations: 10.72 kB / 0.6532 GB, free: 13.93 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)