Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.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.001238/0.001238, 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.001428/0.001428, allocations: 218.1 kB / 23.04 MB, free: 5.078 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 8 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.02891/0.02891, allocations: 5.482 MB / 318.7 MB, free: 13.8 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleShadow,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow",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.001921/0.001921, allocations: 67.91 kB / 448.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1057, allocations: 54.61 MB / 0.4914 GB, free: 11.69 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleShadow): time 0.005784/0.1115, allocations: 4.444 MB / 0.4957 GB, free: 7.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.1144, allocations: 1.652 MB / 0.4973 GB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.1148, allocations: 11.94 kB / 0.4973 GB, free: 5.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008892/0.1157, allocations: 324.9 kB / 0.4976 GB, free: 5.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006121/0.1163, allocations: 262.3 kB / 0.4979 GB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.1168, allocations: 215.6 kB / 0.4981 GB, free: 4.762 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2375/0.3542, allocations: 25.78 MB / 0.5233 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006473/0.3607, allocations: 3.693 MB / 0.5269 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01573/0.3764, allocations: 9.633 MB / 0.5363 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02109/0.3975, allocations: 10.92 MB / 0.547 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008373/0.4059, allocations: 2.711 MB / 0.5496 GB, free: 4.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.4166, allocations: 2.722 MB / 0.5523 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008464/0.4251, allocations: 5.135 MB / 0.5573 GB, free: 480 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02067/0.4458, allocations: 9.571 MB / 0.5666 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03578/0.4815, allocations: 29.12 MB / 0.5951 GB, free: 11.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.4815, allocations: 2.625 kB / 0.5951 GB, free: 11.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4815, allocations: 0 / 0.5951 GB, free: 11.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008971/0.4824, allocations: 0 / 0.5951 GB, free: 11.75 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.1116/0.5941, allocations: 31.51 MB / 0.6258 GB, free: 12.14 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.5941, allocations: 8.031 kB / 0.6259 GB, free: 12.13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002689/0.5944, allocations: 222.2 kB / 0.6261 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006378/0.6008, allocations: 1.118 MB / 0.6272 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009107/0.6099, allocations: 1.542 MB / 0.6287 GB, free: 9.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05673/0.6666, allocations: 18.77 MB / 0.647 GB, free: 6.746 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009257/0.6675, allocations: 0.6256 MB / 0.6476 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004935/0.6725, allocations: 0.8164 MB / 0.6484 GB, free: 5.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04607/0.7185, allocations: 15.69 MB / 0.6637 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004434/0.719, allocations: 21.41 kB / 0.6637 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004522/0.7235, allocations: 352 kB / 0.6641 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002261/0.7237, allocations: 212 kB / 0.6643 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0438/0.7675, allocations: 17.61 MB / 0.6815 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5358/1.303, allocations: 57.44 MB / 0.7376 GB, free: 150.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03784/1.341, allocations: 17.36 MB / 0.7545 GB, free: 149 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01318/1.354, allocations: 7.156 MB / 0.7615 GB, free: 146.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00036/1.355, allocations: 74.8 kB / 0.7616 GB, free: 146.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.027e-05/1.355, allocations: 75.11 kB / 0.7617 GB, free: 146.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=448): time 6.743e-06/1.355, allocations: 2.156 kB / 0.7617 GB, free: 146.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=448): time 0.04731/1.402, allocations: 22.05 MB / 0.7832 GB, free: 137.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/1.402, allocations: 98.45 kB / 0.7833 GB, free: 137.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03421/1.436, allocations: 15.36 MB / 0.7983 GB, free: 126.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001981/1.438, allocations: 113.7 kB / 0.7984 GB, free: 126 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.007107/1.445, allocations: 6.21 MB / 0.8045 GB, free: 121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002774/1.448, allocations: 1.652 MB / 0.8061 GB, free: 119.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01052/1.459, allocations: 2.145 MB / 0.8082 GB, free: 117.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.82e-05/1.459, allocations: 301.1 kB / 0.8085 GB, free: 117.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01493/1.474, allocations: 7.644 MB / 0.8159 GB, free: 109.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01608/1.49, allocations: 8.841 MB / 0.8246 GB, free: 100.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02862/1.518, allocations: 14.38 MB / 0.8386 GB, free: 85.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-05/1.518, allocations: 8 kB / 0.8386 GB, free: 85.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=1134) (initialization): time 0.06808/1.587, allocations: 25.7 MB / 0.8637 GB, free: 59.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/1.587, allocations: 12 kB / 0.8637 GB, free: 59.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.762e-05/1.587, allocations: 24 kB / 0.8637 GB, free: 59.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0456/1.632, allocations: 26.1 MB / 0.8892 GB, free: 33.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006789/1.639, allocations: 1.503 MB / 0.8907 GB, free: 31.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.385/2.024, allocations: 103.8 MB / 0.9921 GB, free: 152.5 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01943/2.043, allocations: 2.506 MB / 0.9945 GB, free: 152.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003701/2.047, allocations: 378.4 kB / 0.9949 GB, free: 152 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.01362/2.061, allocations: 4.565 MB / 0.9993 GB, free: 150.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005604/2.066, allocations: 1.233 MB / 1.001 GB, free: 150.3 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04254/2.109, allocations: 17.56 MB / 1.018 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-05/2.109, allocations: 48.97 kB / 1.018 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/2.109, allocations: 3.938 kB / 1.018 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/2.109, allocations: 19.92 kB / 1.018 GB, free: 141.9 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07822/2.187, allocations: 32.45 MB / 1.049 GB, free: 113.9 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/2.187, allocations: 0 / 1.049 GB, free: 113.9 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/2.189, allocations: 450.6 kB / 1.05 GB, free: 113.5 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02497/2.214, allocations: 15.81 MB / 1.065 GB, free: 97.66 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001808/2.216, allocations: 119.9 kB / 1.065 GB, free: 97.55 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06578/2.282, allocations: 25.2 MB / 1.09 GB, free: 72.41 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/2.282, allocations: 6.016 kB / 1.09 GB, free: 72.4 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03765/2.319, allocations: 16.82 MB / 1.106 GB, free: 55.61 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008879/2.328, allocations: 2.856 MB / 1.109 GB, free: 52.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00518/2.333, allocations: 75.94 kB / 1.109 GB, free: 52.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0125/2.346, allocations: 1.318 MB / 1.111 GB, free: 51.41 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/2.347, allocations: 243 kB / 1.111 GB, free: 51.17 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001671/2.349, allocations: 143.9 kB / 1.111 GB, free: 51.03 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.02155/2.37, allocations: 10.61 MB / 1.121 GB, free: 40.46 MB / 0.5763 GB Notification: Performance of sort global known variables: time 3.11e-07/2.37, allocations: 0 / 1.121 GB, free: 40.46 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01442/2.385, allocations: 2.967 MB / 1.124 GB, free: 37.61 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.03777/2.422, allocations: 17.51 MB / 1.141 GB, free: 20.04 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.3149/2.737, allocations: 30.38 MB / 1.171 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.914e-06/2.737, allocations: 0 / 1.171 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.05336/2.791, allocations: 15.05 MB / 1.186 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01965/2.81, allocations: 3.144 MB / 1.189 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3021/3.112, allocations: 143.1 MB / 1.329 GB, free: 69.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/3.126, allocations: 8.559 MB / 1.337 GB, free: 60.56 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01109/3.137, allocations: 3.779 MB / 1.341 GB, free: 56.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009201/3.146, allocations: 4.994 MB / 1.345 GB, free: 51.77 MB / 0.5919 GB Notification: Performance of SimCode: time 1.503e-06/3.146, allocations: 0 / 1.345 GB, free: 51.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9288/4.075, allocations: 335.5 MB / 1.673 GB, free: 167.6 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.62/56.69, allocations: 9.859 kB / 1.673 GB, free: 167.6 MB / 0.6075 GB " [Timeout remaining time 603] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleShadow.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleShadow.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 62.2439193460159] Failed to read output from testmodel.py, exit status != 0: 57.03791899397038 57.050141589 56.566008461 Calling exit ...