Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.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.0007158/0.0007158, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007277/0.0007277, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8779/0.8779, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01772/0.01772, allocations: 4.219 MB / 263.4 MB, free: 9.141 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/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: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 391.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.958e-05, allocations: 2.281 kB / 391.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003063/0.003083, allocations: 3.084 MB / 394.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004468, allocations: 1.176 MB / 396 MB, free: 1.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.004633, allocations: 4 kB / 396 MB, free: 1.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.005051, allocations: 198.9 kB / 396.2 MB, free: 1.578 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.005319, allocations: 154.8 kB / 396.3 MB, free: 1.426 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.005475, allocations: 119.8 kB / 396.4 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.005936, allocations: 0.5485 MB / 397 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.006142, allocations: 84.62 kB / 397.1 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.006475, allocations: 291.3 kB / 397.3 MB, free: 396 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.006697, allocations: 187.5 kB / 397.5 MB, free: 208 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.006754, allocations: 48 kB / 397.6 MB, free: 160 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.006864, allocations: 71.97 kB / 397.6 MB, free: 88 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.006946, allocations: 103.7 kB / 397.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.007065, allocations: 151.6 kB / 397.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.007688, allocations: 0.5297 MB / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007691, allocations: 0 / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.007693, allocations: 0 / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.007706, allocations: 4 kB / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001406/0.009112, allocations: 0.7151 MB / 399.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.009153, allocations: 8.031 kB / 399.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.431e-05/0.009207, allocations: 54.73 kB / 399.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.882e-05/0.009276, allocations: 40.64 kB / 399.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.009907, allocations: 404.5 kB / 399.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.009922, allocations: 12.88 kB / 399.6 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.009948, allocations: 20.38 kB / 399.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.0103, allocations: 284.1 kB / 399.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.01031, allocations: 3.938 kB / 399.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.01033, allocations: 12 kB / 400 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.01034, allocations: 7.984 kB / 400 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.01067, allocations: 221 kB / 400.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.01203, allocations: 1.146 MB / 401.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.01225, allocations: 142.5 kB / 401.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.01243, allocations: 100.8 kB / 401.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.01244, allocations: 3.938 kB / 401.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.01246, allocations: 34.55 kB / 401.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.01246, allocations: 0 / 401.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004319/0.0129, allocations: 245.4 kB / 401.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.01293, allocations: 51.41 kB / 401.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.0132, allocations: 381.6 kB / 402.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.01321, allocations: 25.7 kB / 402.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.01332, allocations: 220.3 kB / 402.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.01334, allocations: 27.75 kB / 402.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.0134, allocations: 57.55 kB / 402.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.888e-05/0.01349, allocations: 350.7 kB / 402.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.01363, allocations: 99.88 kB / 403 MB, free: 10.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.01377, allocations: 130.3 kB / 403.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.01403, allocations: 206.2 kB / 403.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01404, allocations: 0 / 403.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005333/0.01457, allocations: 350.1 kB / 403.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01458, allocations: 4 kB / 403.7 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.01459, allocations: 4 kB / 403.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.01482, allocations: 68.78 kB / 403.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01497, allocations: 59.89 kB / 403.8 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009046/0.01588, allocations: 1.451 MB / 405.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.01603, allocations: 39.83 kB / 405.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.01604, allocations: 12.16 kB / 405.3 MB, free: 7.996 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.01615, allocations: 141.8 kB / 405.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.01618, allocations: 39.7 kB / 405.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.01622, allocations: 27.06 kB / 405.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01623, allocations: 3.984 kB / 405.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.01623, allocations: 4 kB / 405.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01623, allocations: 0 / 405.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.01676, allocations: 0.5372 MB / 406.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01677, allocations: 3.938 kB / 406.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.01684, allocations: 27.97 kB / 406.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01685, allocations: 0 / 406.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01685, allocations: 4 kB / 406.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01686, allocations: 8 kB / 406.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.01686, allocations: 3.938 kB / 406.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.01712, allocations: 292.1 kB / 406.4 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.01718, allocations: 51.73 kB / 406.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.0172, allocations: 0 / 406.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.0173, allocations: 11.98 kB / 406.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.01733, allocations: 7.984 kB / 406.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01734, allocations: 4 kB / 406.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.01752, allocations: 267.2 kB / 406.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01752, allocations: 0 / 406.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.01775, allocations: 79.77 kB / 406.8 MB, free: 6.414 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0004835/0.01824, allocations: 0.8301 MB / 407.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.0187, allocations: 332.9 kB / 408 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.0187, allocations: 0 / 408 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.0188, allocations: 67.89 kB / 408.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.01911, allocations: 78 kB / 408.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.02191, allocations: 3.074 MB / 411.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.423e-05/0.02201, allocations: 161.2 kB / 411.4 MB, free: 1.707 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.02213, allocations: 46.94 kB / 411.4 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.02224, allocations: 104.5 kB / 411.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02224, allocations: 0 / 411.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.04154, allocations: 8.151 MB / 419.7 MB, free: 9.594 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/7.78, allocations: 2.922 kB / 419.7 MB, free: 9.594 MB / 394.7 MB " [Timeout remaining time 652] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.502154343761504] Failed to read output from testmodel.py, exit status != 0: 7.873208764009178 7.883891484 7.874436378 Calling exit ...