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.001204/0.001204, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001342/0.001342, allocations: 218.8 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.02896/0.02896, allocations: 5.482 MB / 318.7 MB, free: 13.75 MB / 254.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModule,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002908/0.002908, allocations: 75.83 kB / 447 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1291, allocations: 54.62 MB / 0.4898 GB, free: 13.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModule): time 0.005882/0.1349, allocations: 4.439 MB / 0.4942 GB, free: 8.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.1379, allocations: 1.636 MB / 0.4958 GB, free: 7.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.1383, allocations: 15.88 kB / 0.4958 GB, free: 7.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.1392, allocations: 321 kB / 0.4961 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.1398, allocations: 258.4 kB / 0.4963 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1402, allocations: 219.5 kB / 0.4965 GB, free: 6.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.4168/0.557, allocations: 25.78 MB / 0.5217 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006327/0.5633, allocations: 3.693 MB / 0.5253 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01613/0.5795, allocations: 9.631 MB / 0.5347 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02076/0.6002, allocations: 10.92 MB / 0.5454 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00922/0.6094, allocations: 2.704 MB / 0.548 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.6206, allocations: 2.718 MB / 0.5507 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008603/0.6292, allocations: 5.138 MB / 0.5557 GB, free: 152 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01914/0.6483, allocations: 9.581 MB / 0.5651 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03582/0.6842, allocations: 29.11 MB / 0.5935 GB, free: 12.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.6842, allocations: 0 / 0.5935 GB, free: 12.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6842, allocations: 0 / 0.5935 GB, free: 12.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007791/0.6849, allocations: 0 / 0.5935 GB, free: 12.6 MB / 430.1 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.1075/0.7925, allocations: 31.52 MB / 0.6243 GB, free: 12.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.7925, allocations: 8.031 kB / 0.6243 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002522/0.7928, allocations: 221.3 kB / 0.6245 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005719/0.7985, allocations: 1.118 MB / 0.6256 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007976/0.8065, allocations: 1.546 MB / 0.6271 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05355/0.86, allocations: 18.77 MB / 0.6454 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007325/0.8607, allocations: 0.6295 MB / 0.646 GB, free: 6.969 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004297/0.865, allocations: 0.8164 MB / 0.6468 GB, free: 6.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04189/0.9069, allocations: 15.69 MB / 0.6622 GB, free: 6.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002369/0.9072, allocations: 21.12 kB / 0.6622 GB, free: 5.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003826/0.911, allocations: 352 kB / 0.6625 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001966/0.9112, allocations: 212 kB / 0.6627 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04197/0.9532, allocations: 17.62 MB / 0.6799 GB, free: 3.93 MB / 0.4982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3521/1.305, allocations: 57.45 MB / 0.736 GB, free: 152.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03303/1.338, allocations: 17.36 MB / 0.753 GB, free: 150.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01205/1.35, allocations: 7.154 MB / 0.76 GB, free: 147.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/1.351, allocations: 78.42 kB / 0.76 GB, free: 147.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/1.351, allocations: 77.78 kB / 0.7601 GB, free: 147.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 5.46e-06/1.351, allocations: 0 / 0.7601 GB, free: 147.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04441/1.395, allocations: 22.05 MB / 0.7816 GB, free: 138.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.395, allocations: 95.36 kB / 0.7817 GB, free: 138.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02349/1.419, allocations: 15.37 MB / 0.7967 GB, free: 127.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0017/1.42, allocations: 110.3 kB / 0.7968 GB, free: 127.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005671/1.426, allocations: 6.205 MB / 0.8029 GB, free: 122.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002518/1.428, allocations: 1.652 MB / 0.8045 GB, free: 120.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006558/1.435, allocations: 2.145 MB / 0.8066 GB, free: 118.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/1.435, allocations: 301.1 kB / 0.8069 GB, free: 118.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01353/1.449, allocations: 7.656 MB / 0.8144 GB, free: 110.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01451/1.463, allocations: 8.84 MB / 0.823 GB, free: 101.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02609/1.489, allocations: 14.38 MB / 0.837 GB, free: 86.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.721e-05/1.489, allocations: 8 kB / 0.8371 GB, free: 86.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.05862/1.548, allocations: 25.69 MB / 0.8621 GB, free: 60.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/1.548, allocations: 20.12 kB / 0.8622 GB, free: 60.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/1.548, allocations: 28 kB / 0.8622 GB, free: 60.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04516/1.593, allocations: 26.41 MB / 0.888 GB, free: 34.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006992/1.6, allocations: 1.494 MB / 0.8894 GB, free: 32.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3625/1.963, allocations: 103.8 MB / 0.9908 GB, free: 153.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01748/1.98, allocations: 2.505 MB / 0.9933 GB, free: 152.8 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002675/1.983, allocations: 388.2 kB / 0.9936 GB, free: 152.7 MB / 0.5763 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.008947/1.992, allocations: 4.556 MB / 0.9981 GB, free: 151 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003362/1.995, allocations: 1.235 MB / 0.9993 GB, free: 151 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02961/2.025, allocations: 17.56 MB / 1.016 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/2.025, allocations: 41 kB / 1.016 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.025, allocations: 3.562 kB / 1.016 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.439e-05/2.025, allocations: 27.78 kB / 1.016 GB, free: 142.6 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06406/2.089, allocations: 32.44 MB / 1.048 GB, free: 114.7 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.513e-05/2.089, allocations: 5.5 kB / 1.048 GB, free: 114.7 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/2.091, allocations: 446.9 kB / 1.049 GB, free: 114.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02431/2.115, allocations: 15.81 MB / 1.064 GB, free: 98.52 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001548/2.116, allocations: 123.8 kB / 1.064 GB, free: 98.4 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0609/2.177, allocations: 25.19 MB / 1.089 GB, free: 73.26 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/2.177, allocations: 4 kB / 1.089 GB, free: 73.26 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03321/2.211, allocations: 16.82 MB / 1.105 GB, free: 56.62 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008962/2.22, allocations: 2.864 MB / 1.108 GB, free: 53.81 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004033/2.224, allocations: 75.94 kB / 1.108 GB, free: 53.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01074/2.234, allocations: 1.311 MB / 1.109 GB, free: 52.42 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007296/2.235, allocations: 233.5 kB / 1.11 GB, free: 52.2 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001121/2.236, allocations: 147.9 kB / 1.11 GB, free: 52.05 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0172/2.253, allocations: 10.61 MB / 1.12 GB, free: 41.48 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.6e-07/2.253, allocations: 0 / 1.12 GB, free: 41.48 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01332/2.267, allocations: 2.976 MB / 1.123 GB, free: 38.62 MB / 0.5763 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.03352/2.3, allocations: 17.5 MB / 1.14 GB, free: 21.07 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.2941/2.594, allocations: 30.39 MB / 1.17 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/2.594, allocations: 0 / 1.17 GB, free: 188 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.05264/2.647, allocations: 15.05 MB / 1.184 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.021/2.668, allocations: 3.143 MB / 1.188 GB, free: 187.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2927/2.961, allocations: 143.1 MB / 1.327 GB, free: 69.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008892/2.97, allocations: 8.555 MB / 1.336 GB, free: 61.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01037/2.98, allocations: 3.783 MB / 1.339 GB, free: 57.47 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008447/2.988, allocations: 4.998 MB / 1.344 GB, free: 52.47 MB / 0.5919 GB Notification: Performance of SimCode: time 1.322e-06/2.988, allocations: 0 / 1.344 GB, free: 52.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9626/3.951, allocations: 335.5 MB / 1.672 GB, free: 168.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.96/56.91, allocations: 1.484 kB / 1.672 GB, free: 168.3 MB / 0.6075 GB " [Timeout remaining time 603] (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 os._exit(0), Time elapsed: 60.627660388010554] Failed to read output from testmodel.py, exit status != 0: 57.25459743605461 57.277075378 56.588193249 Calling exit ...