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.0007594/0.0007594, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007799/0.0007799, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9101/0.9101, allocations: 177.2 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.01707/0.01707, allocations: 4.225 MB / 263.4 MB, free: 9.129 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.583e-06/1.583e-06, allocations: 0 / 391.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.187e-05, allocations: 6.219 kB / 391.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.003337/0.003359, allocations: 3.082 MB / 394.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.004728, allocations: 1.172 MB / 396 MB, free: 1.781 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.004889, allocations: 4 kB / 396 MB, free: 1.777 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.005307, allocations: 198.8 kB / 396.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.00558, allocations: 154.9 kB / 396.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.005734, allocations: 123.7 kB / 396.4 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.006135, allocations: 0.5485 MB / 397 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.006299, allocations: 80.62 kB / 397.1 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.006542, allocations: 287.4 kB / 397.3 MB, free: 404 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.006711, allocations: 191.4 kB / 397.5 MB, free: 212 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.006756, allocations: 48 kB / 397.6 MB, free: 164 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.006841, allocations: 67.98 kB / 397.6 MB, free: 96 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.006905, allocations: 107.7 kB / 397.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.006999, allocations: 151.5 kB / 397.9 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.00739, allocations: 0.5335 MB / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.007392, allocations: 0 / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007393, allocations: 0 / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.007398, allocations: 0 / 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.001118/0.008516, allocations: 0.7112 MB / 399.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.008559, allocations: 12.03 kB / 399.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.008615, allocations: 62.66 kB / 399.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.008682, allocations: 40.7 kB / 399.3 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.009415, allocations: 396.6 kB / 399.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.009433, allocations: 16.88 kB / 399.7 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.009462, allocations: 24.36 kB / 399.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.009816, allocations: 288.1 kB / 400 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.009826, allocations: 0 / 400 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.009849, allocations: 4 kB / 400 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.009857, allocations: 8 kB / 400 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003774/0.01023, allocations: 228.9 kB / 400.2 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.01152, allocations: 1.142 MB / 401.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.01175, allocations: 138.4 kB / 401.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.01193, allocations: 96.78 kB / 401.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.01195, allocations: 8 kB / 401.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.01196, allocations: 30.56 kB / 401.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.01196, allocations: 0 / 401.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004403/0.0124, allocations: 241.4 kB / 401.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.01244, allocations: 55.34 kB / 401.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.01277, allocations: 385.6 kB / 402.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.01279, allocations: 29.64 kB / 402.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.0129, allocations: 220.3 kB / 402.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.01292, allocations: 31.73 kB / 402.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.01299, allocations: 57.55 kB / 402.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.0131, allocations: 342.8 kB / 402.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.01325, allocations: 91.94 kB / 403 MB, free: 10.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.01341, allocations: 131.4 kB / 403.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.0137, allocations: 202.2 kB / 403.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01371, allocations: 0 / 403.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005789/0.01429, allocations: 350.1 kB / 403.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.0143, allocations: 4 kB / 403.7 MB, free: 9.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01431, allocations: 4 kB / 403.7 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/0.01456, allocations: 80.81 kB / 403.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.01472, allocations: 55.95 kB / 403.8 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.01584, allocations: 1.455 MB / 405.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.01599, allocations: 39.83 kB / 405.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.01601, allocations: 8 kB / 405.3 MB, free: 8 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.0001215/0.01613, allocations: 137.8 kB / 405.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.01617, allocations: 39.7 kB / 405.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.01621, allocations: 35.05 kB / 405.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.01621, allocations: 4.094 kB / 405.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.01621, allocations: 0 / 405.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01622, allocations: 0 / 405.5 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.0168, allocations: 0.5372 MB / 406.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01681, allocations: 0 / 406.1 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.452e-05/0.01689, allocations: 35.94 kB / 406.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01689, allocations: 0 / 406.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.0169, allocations: 4 kB / 406.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.01691, allocations: 3.984 kB / 406.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01691, allocations: 4 kB / 406.1 MB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.01723, allocations: 288.1 kB / 406.4 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.0173, allocations: 47.73 kB / 406.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.01733, allocations: 8 kB / 406.5 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01743, allocations: 15.92 kB / 406.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.01748, allocations: 7.984 kB / 406.5 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.01749, allocations: 11.94 kB / 406.5 MB, free: 6.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.01769, allocations: 263.2 kB / 406.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01769, allocations: 0 / 406.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002832/0.01798, allocations: 71.83 kB / 406.8 MB, free: 6.418 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.0005408/0.01852, allocations: 0.834 MB / 407.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004721/0.01899, allocations: 333.3 kB / 408 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01899, allocations: 4 kB / 408 MB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.0191, allocations: 67.94 kB / 408.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.01944, allocations: 68.59 kB / 408.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.02273, allocations: 3.074 MB / 411.2 MB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.02283, allocations: 165.2 kB / 411.4 MB, free: 1.711 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.02297, allocations: 46.92 kB / 411.4 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.02309, allocations: 108.5 kB / 411.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.0231, allocations: 0 / 411.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.04292, allocations: 8.152 MB / 419.7 MB, free: 9.598 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.033, allocations: 8.062 kB / 419.7 MB, free: 9.59 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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.929053225554526] Failed to read output from testmodel.py, exit status != 0: 8.124076484702528 8.137673045 8.127245972999999 Calling exit ...