Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.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.0008664/0.0008664, 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.0009583/0.0009583, 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.8871/0.8871, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.01673/0.01673, 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.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 391.7 MB, free: 4.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.324e-05, allocations: 2.281 kB / 391.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.004014/0.004037, allocations: 4.001 MB / 395.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.006084, allocations: 1.538 MB / 397.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.006333, allocations: 15.88 kB / 397.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000627/0.00696, allocations: 289.4 kB / 397.5 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.007333, allocations: 262.1 kB / 397.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.007647, allocations: 227.5 kB / 398 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.159/0.1666, allocations: 26.38 MB / 424.4 MB, free: 18.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005634/0.1722, allocations: 3.77 MB / 428.2 MB, free: 16.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02325/0.1955, allocations: 13.97 MB / 442.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0147/0.2102, allocations: 11.62 MB / 453.8 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006413/0.2166, allocations: 2.707 MB / 456.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008076/0.2247, allocations: 2.721 MB / 459.2 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009066/0.2338, allocations: 5.187 MB / 464.4 MB, free: 6.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01746/0.2512, allocations: 6.892 MB / 471.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02688/0.2781, allocations: 30.7 MB / 0.4902 GB, free: 1.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2781, allocations: 0 / 0.4902 GB, free: 1.223 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2781, allocations: 4 kB / 0.4902 GB, free: 1.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007922/0.2789, allocations: 4 kB / 0.4902 GB, free: 1.215 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: 2129 * Number of variables: 2129 Notification: Performance of Generate backend data structure: time 0.06835/0.3472, allocations: 31.36 MB / 0.5208 GB, free: 1.703 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.3473, allocations: 8.031 kB / 0.5208 GB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005304/0.3526, allocations: 1.121 MB / 0.5219 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005911/0.3585, allocations: 1.542 MB / 0.5234 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0337/0.3922, allocations: 18.76 MB / 0.5418 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009545/0.3932, allocations: 0.6254 MB / 0.5424 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003325/0.3965, allocations: 0.8164 MB / 0.5432 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02465/0.4211, allocations: 15.73 MB / 0.5585 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/0.4213, allocations: 22.91 kB / 0.5586 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001486/0.4228, allocations: 344 kB / 0.5589 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.4229, allocations: 212 kB / 0.5591 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/0.4483, allocations: 17.58 MB / 0.5763 GB, free: 8.539 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.372/0.8202, allocations: 54.06 MB / 0.629 GB, free: 106.1 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01956/0.8398, allocations: 17.34 MB / 0.646 GB, free: 96.86 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007619/0.8474, allocations: 7.14 MB / 0.6529 GB, free: 89.76 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.8476, allocations: 63.48 kB / 0.653 GB, free: 89.7 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.8476, allocations: 82.02 kB / 0.6531 GB, free: 89.61 MB / 474.8 MB Notification: Performance of pre-optimization done (n=448): time 5.821e-06/0.8476, allocations: 0 / 0.6531 GB, free: 89.61 MB / 474.8 MB Notification: Performance of matching and sorting (n=448): time 0.02611/0.8737, allocations: 22.05 MB / 0.6746 GB, free: 68.16 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.8738, allocations: 98.92 kB / 0.6747 GB, free: 68.05 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01748/0.8913, allocations: 15.49 MB / 0.6898 GB, free: 52.75 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001627/0.8929, allocations: 109.7 kB / 0.6899 GB, free: 52.63 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005269/0.8982, allocations: 6.188 MB / 0.696 GB, free: 46.89 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002338/0.9005, allocations: 1.629 MB / 0.6976 GB, free: 45.48 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004164/0.9047, allocations: 2.117 MB / 0.6996 GB, free: 43.35 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 2.306e-05/0.9047, allocations: 301.1 kB / 0.6999 GB, free: 43.05 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008381/0.9131, allocations: 7.656 MB / 0.7074 GB, free: 35.38 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009344/0.9224, allocations: 8.839 MB / 0.716 GB, free: 26.2 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/0.9392, allocations: 14.39 MB / 0.7301 GB, free: 11.41 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.597e-05/0.9393, allocations: 4 kB / 0.7301 GB, free: 11.41 MB / 474.8 MB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.03613/0.9754, allocations: 25.69 MB / 0.7552 GB, free: 1.465 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.9754, allocations: 16.94 kB / 0.7552 GB, free: 1.449 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/0.9755, allocations: 24 kB / 0.7552 GB, free: 1.426 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1937/1.169, allocations: 26.41 MB / 0.781 GB, free: 158.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005012/1.174, allocations: 1.49 MB / 0.7825 GB, free: 158.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06765/1.242, allocations: 103.5 MB / 0.8835 GB, free: 69.89 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01353/1.255, allocations: 2.511 MB / 0.886 GB, free: 67.97 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002725/1.258, allocations: 387.2 kB / 0.8863 GB, free: 67.59 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * 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 (840): * Single equations (assignments): 791 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 48 * Torn equation systems: 1 * 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): 48 systems {2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2} * Without analytic Jacobian (size): 0 systems 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 {(47,200)} Notification: Performance of prepare postOptimizeDAE: time 0.009102/1.267, allocations: 4.564 MB / 0.8908 GB, free: 63.04 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003642/1.271, allocations: 1.232 MB / 0.892 GB, free: 62.06 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/1.297, allocations: 17.56 MB / 0.9091 GB, free: 44.45 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.651e-05/1.297, allocations: 47.88 kB / 0.9092 GB, free: 44.41 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.297, allocations: 0 / 0.9092 GB, free: 44.41 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.888e-05/1.297, allocations: 27.91 kB / 0.9092 GB, free: 44.38 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05075/1.348, allocations: 30.62 MB / 0.9391 GB, free: 13.81 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.348, allocations: 0 / 0.9391 GB, free: 13.81 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/1.349, allocations: 451.4 kB / 0.9395 GB, free: 13.37 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01686/1.366, allocations: 15.81 MB / 0.955 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001509/1.367, allocations: 123.8 kB / 0.9551 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2143/1.582, allocations: 25.19 MB / 0.9797 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.582, allocations: 4.938 kB / 0.9797 GB, free: 164.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02413/1.606, allocations: 16.82 MB / 0.9961 GB, free: 160.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00728/1.613, allocations: 2.857 MB / 0.9989 GB, free: 159 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003663/1.617, allocations: 71.53 kB / 0.999 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008022/1.625, allocations: 1.312 MB / 1 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000748/1.625, allocations: 243.2 kB / 1 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00106/1.627, allocations: 147.2 kB / 1.001 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01553/1.642, allocations: 10.61 MB / 1.011 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/1.642, allocations: 0 / 1.011 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01216/1.654, allocations: 2.97 MB / 1.014 GB, free: 149.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (250): * Single equations (assignments): 249 * 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 {(48,154)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02443/1.679, allocations: 17.51 MB / 1.031 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04155/1.72, allocations: 30.37 MB / 1.061 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/1.72, allocations: 0 / 1.061 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.02577/1.746, allocations: 15.05 MB / 1.075 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01405/1.76, allocations: 3.146 MB / 1.078 GB, free: 83.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6289/2.389, allocations: 143.8 MB / 1.219 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006859/2.396, allocations: 8.194 MB / 1.227 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008683/2.405, allocations: 3.781 MB / 1.231 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005984/2.41, allocations: 4.999 MB / 1.235 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.613e-06/2.41, allocations: 0 / 1.235 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6553/3.066, allocations: 333.7 MB / 1.561 GB, free: 119 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.57/28.64, allocations: 6 kB / 1.561 GB, free: 119 MB / 0.5262 GB " [Timeout remaining time 631] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.06103351339698] Failed to read output from testmodel.py, exit status != 0: 28.870523736812174 28.88058222 28.600900496 Calling exit ...