Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Types.Examples.Units.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.0007421/0.0007421, 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.0008393/0.0008393, allocations: 165.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.9768/0.9768, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.0705/0.0705, allocations: 12.75 MB / 271.9 MB, free: 496 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.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(Bodylight.Types.Examples.Units,fileNamePrefix="Bodylight_Bodylight_Types_Examples_Units",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Bodylight.Types.Examples.Units,fileNamePrefix="Bodylight_Bodylight_Types_Examples_Units",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 402.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.3e-05, allocations: 6.219 kB / 402.7 MB, free: 9.734 MB / 378.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Types.Examples.Units): time 0.007373/0.007406, allocations: 1.758 MB / 404.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.007562, allocations: 71.67 kB / 404.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.007611, allocations: 0 / 404.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.00764, allocations: 7.922 kB / 404.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.007783, allocations: 59.48 kB / 404.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.374e-06/0.00779, allocations: 0 / 404.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.007919, allocations: 103 kB / 404.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.427e-05/0.007983, allocations: 3.984 kB / 404.7 MB, free: 7.723 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.896e-05/0.008052, allocations: 39.91 kB / 404.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.008141, allocations: 23.92 kB / 404.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.008152, allocations: 0 / 404.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.008163, allocations: 4 kB / 404.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.008182, allocations: 7.938 kB / 404.7 MB, free: 7.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.008221, allocations: 23.94 kB / 404.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.008329, allocations: 51.78 kB / 404.8 MB, free: 7.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.008335, allocations: 3.984 kB / 404.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008336, allocations: 0 / 404.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.008341, allocations: 0 / 404.8 MB, free: 7.57 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003346/0.008676, allocations: 317.8 kB / 405.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.008724, allocations: 11.98 kB / 405.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.008779, allocations: 110 kB / 405.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.008843, allocations: 88.11 kB / 405.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.009981, allocations: 217.4 kB / 405.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.01002, allocations: 150.9 kB / 405.7 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.01005, allocations: 158.9 kB / 405.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.834e-05/0.0101, allocations: 101.5 kB / 405.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.01012, allocations: 75.47 kB / 406 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.01016, allocations: 150.9 kB / 406.2 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.01019, allocations: 158.6 kB / 406.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.01023, allocations: 158.5 kB / 406.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.01043, allocations: 437 kB / 406.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/0.0105, allocations: 169.1 kB / 407.1 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.01052, allocations: 84.14 kB / 407.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01054, allocations: 75.28 kB / 407.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.01057, allocations: 113.8 kB / 407.3 MB, free: 4.902 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.01057, allocations: 0 / 407.3 MB, free: 4.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 6.36e-05/0.01064, allocations: 41.58 kB / 407.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.01068, allocations: 134.6 kB / 407.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.01083, allocations: 162.8 kB / 407.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.01084, allocations: 25.7 kB / 407.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.01088, allocations: 104.1 kB / 407.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.01088, allocations: 0 / 407.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.0109, allocations: 17.77 kB / 407.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.01098, allocations: 322.8 kB / 408.1 MB, free: 4.055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.01099, allocations: 0 / 408.1 MB, free: 4.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-06/0.01099, allocations: 0 / 408.1 MB, free: 4.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/0.01101, allocations: 79.28 kB / 408.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/0.01103, allocations: 79.28 kB / 408.3 MB, free: 3.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.985e-05/0.01107, allocations: 41.55 kB / 408.3 MB, free: 3.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.01109, allocations: 83.28 kB / 408.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.01111, allocations: 75.28 kB / 408.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.306e-05/0.01116, allocations: 158.6 kB / 408.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.901e-05/0.01118, allocations: 87.23 kB / 408.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-05/0.01121, allocations: 154.6 kB / 408.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.01126, allocations: 79.22 kB / 408.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.01128, allocations: 79.28 kB / 409 MB, free: 3.145 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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 prepare postOptimizeDAE: time 8.734e-05/0.01137, allocations: 264.4 kB / 409.3 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.01141, allocations: 112.9 kB / 409.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.01145, allocations: 117.5 kB / 409.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/0.01149, allocations: 176.3 kB / 409.7 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-05/0.01153, allocations: 192.1 kB / 409.9 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.115e-05/0.01157, allocations: 184.2 kB / 410 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.01174, allocations: 396.2 kB / 410.4 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-05/0.01176, allocations: 105 kB / 410.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.01178, allocations: 101 kB / 410.6 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.335e-05/0.01183, allocations: 188.2 kB / 410.8 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.01187, allocations: 176.3 kB / 411 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.206e-05/0.01191, allocations: 188.2 kB / 411.2 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.234e-05/0.01195, allocations: 184.2 kB / 411.3 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.507e-05/0.01205, allocations: 311.7 kB / 411.7 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.01208, allocations: 112.9 kB / 411.8 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.01214, allocations: 188.2 kB / 411.9 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.68e-05/0.01221, allocations: 105 kB / 412 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.01225, allocations: 180.2 kB / 412.2 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.01228, allocations: 108.9 kB / 412.3 MB, free: 15.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.835e-05/0.01234, allocations: 124.3 kB / 412.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01234, allocations: 0 / 412.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.01252, allocations: 8 kB / 412.5 MB, free: 15.5 MB / 394.7 MB 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 (0): * Single equations (assignments): 0 * 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.0002633/0.01278, allocations: 0.8094 MB / 413.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 3.266e-05/0.01282, allocations: 3.938 kB / 413.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01282, allocations: 0 / 413.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.01282, allocations: 4 kB / 413.3 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.01321, allocations: 490.1 kB / 413.8 MB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.01369, allocations: 370.3 kB / 414.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.01374, allocations: 81.45 kB / 414.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.01376, allocations: 0 / 414.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.01379, allocations: 28.48 kB / 414.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01379, allocations: 0 / 414.2 MB, free: 13.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08443/0.09822, allocations: 3.12 MB / 417.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.219, allocations: 15.22 kB / 417.4 MB, free: 10.65 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Bodylight_Bodylight.Types.Examples.Units.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units.pipe >> ../files/Bodylight_Bodylight.Types.Examples.Units.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Bodylight_Bodylight_Types_Examples_Units_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Bodylight_Bodylight_Types_Examples_Units.fmu) > Bodylight_Bodylight.Types.Examples.Units.pipe 2>&1) [Timeout 52.5] (rm -f Bodylight_Bodylight.Types.Examples.Units_fmpy.pipe ; mkfifo Bodylight_Bodylight.Types.Examples.Units_fmpy.pipe ; head -c 1048576 < Bodylight_Bodylight.Types.Examples.Units_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Bodylight_Bodylight.Types.Examples.Units_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Bodylight_Bodylight.Types.Examples.Units_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Bodylight_Bodylight_Types_Examples_Units.fmu) > Bodylight_Bodylight.Types.Examples.Units_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.502960868179798]