Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.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.0009671/0.0009671, 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.0008302/0.0008302, allocations: 169.9 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.9195/0.9195, 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.01734/0.01734, allocations: 4.217 MB / 263.4 MB, free: 9.133 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.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.737e-06/3.737e-06, allocations: 3.984 kB / 391.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.701e-05, allocations: 5.375 kB / 391.7 MB, free: 6.074 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.00753/0.007557, allocations: 5.721 MB / 397.4 MB, free: 320 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005056/0.01261, allocations: 2.441 MB / 399.9 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.01373, allocations: 19.94 kB / 399.9 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.01647, allocations: 1.08 MB / 401 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.01883, allocations: 0.6249 MB / 401.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.0198, allocations: 359.2 kB / 401.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.0215, allocations: 1.191 MB / 403.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.02301, allocations: 0.8598 MB / 404 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.0242, allocations: 0.7094 MB / 404.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007799/0.02498, allocations: 446.7 kB / 405.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.02522, allocations: 128 kB / 405.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006994/0.02592, allocations: 291.6 kB / 405.6 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.02615, allocations: 263.1 kB / 405.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.02664, allocations: 375.1 kB / 406.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.0287, allocations: 1.542 MB / 407.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.02871, allocations: 4 kB / 407.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02871, allocations: 0 / 407.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.285e-05/0.02875, allocations: 4 kB / 407.7 MB, free: 5.957 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003891/0.03264, allocations: 1.48 MB / 409.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.0327, allocations: 8.031 kB / 409.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/0.03292, allocations: 148 kB / 409.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.03466, allocations: 344 kB / 409.7 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.03643, allocations: 0.6245 MB / 410.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.03651, allocations: 70.31 kB / 410.4 MB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.03668, allocations: 96.38 kB / 410.5 MB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.03869, allocations: 1.026 MB / 411.5 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.276e-05/0.03872, allocations: 0 / 411.5 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.0388, allocations: 40 kB / 411.5 MB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.03883, allocations: 27.94 kB / 411.6 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.04078, allocations: 0.8683 MB / 412.4 MB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005807/0.04659, allocations: 3.273 MB / 415.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.04811, allocations: 0.636 MB / 416.4 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.04857, allocations: 254.8 kB / 416.6 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.585e-05/0.04866, allocations: 19.92 kB / 416.6 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/0.0492, allocations: 352 kB / 417 MB, free: 12.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 3.347e-06/0.04921, allocations: 0 / 417 MB, free: 12.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=47): time 0.002187/0.05139, allocations: 0.9486 MB / 417.9 MB, free: 11.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.05148, allocations: 144.5 kB / 418.1 MB, free: 11.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/0.05215, allocations: 0.5135 MB / 418.6 MB, free: 10.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.05219, allocations: 33.7 kB / 418.6 MB, free: 10.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.05281, allocations: 471.7 kB / 419.1 MB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.05297, allocations: 170.6 kB / 419.2 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.05321, allocations: 146.5 kB / 419.4 MB, free: 9.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.05332, allocations: 362.8 kB / 419.7 MB, free: 9.543 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.05368, allocations: 263.6 kB / 420 MB, free: 9.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.05409, allocations: 463.1 kB / 420.4 MB, free: 8.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.05483, allocations: 0.699 MB / 421.1 MB, free: 7.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.05483, allocations: 0 / 421.1 MB, free: 7.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001135/0.05597, allocations: 0.8801 MB / 422 MB, free: 7.051 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.05601, allocations: 37.73 kB / 422 MB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.05602, allocations: 7.938 kB / 422.1 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.05627, allocations: 84.78 kB / 422.1 MB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.05666, allocations: 171.7 kB / 422.3 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.05772, allocations: 1.47 MB / 423.8 MB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.05808, allocations: 91.59 kB / 423.9 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.05811, allocations: 35.98 kB / 423.9 MB, free: 5.031 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0003068/0.05842, allocations: 271.2 kB / 424.2 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.05849, allocations: 59.62 kB / 424.2 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009008/0.05939, allocations: 0.7404 MB / 425 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.05939, allocations: 4 kB / 425 MB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.0594, allocations: 7.875 kB / 425 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.05941, allocations: 7.922 kB / 425 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.06136, allocations: 1.502 MB / 426.5 MB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.06136, allocations: 4.031 kB / 426.5 MB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.06154, allocations: 75.89 kB / 426.6 MB, free: 2.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005291/0.06207, allocations: 288.1 kB / 426.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.0621, allocations: 16 kB / 426.9 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006163/0.06271, allocations: 0.8969 MB / 427.8 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.06272, allocations: 0 / 427.8 MB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.06393, allocations: 1.107 MB / 428.9 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.06411, allocations: 107.5 kB / 429 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.06417, allocations: 19.98 kB / 429 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.06437, allocations: 32.03 kB / 429 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/0.06443, allocations: 27.95 kB / 429 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.06446, allocations: 19.98 kB / 429.1 MB, free: 15.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002982/0.06476, allocations: 350.9 kB / 429.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06476, allocations: 3.938 kB / 429.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005822/0.06534, allocations: 243.3 kB / 429.7 MB, free: 15.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001979/0.06732, allocations: 1.701 MB / 431.4 MB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009963/0.06831, allocations: 0.7796 MB / 432.1 MB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.06832, allocations: 4.188 kB / 432.1 MB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.06866, allocations: 329.7 kB / 432.5 MB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.0691, allocations: 102.3 kB / 432.6 MB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006795/0.07589, allocations: 5.63 MB / 438.2 MB, free: 6.098 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.07616, allocations: 352 kB / 438.5 MB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.07643, allocations: 88.95 kB / 438.6 MB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.07672, allocations: 300.4 kB / 438.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of SimCode: time 1.754e-06/0.07672, allocations: 0 / 438.9 MB, free: 5.348 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1875/0.2642, allocations: 15.34 MB / 454.3 MB, free: 92.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.443, allocations: 3.281 kB / 454.3 MB, free: 92.29 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.363507803529501] Failed to read output from testmodel.py, exit status != 0: 8.54068981576711 8.546595989 8.516256752 Calling exit ...